diff --git a/kernel_patches/arm64-sm8250/0022-dsi-fix.patch b/kernel_patches/arm64-sm8250/0022-dsi-fix.patch deleted file mode 100644 index db7f2ec..0000000 --- a/kernel_patches/arm64-sm8250/0022-dsi-fix.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c -index 0c4ec0530efc..1a2afe31fa86 100644 ---- a/drivers/gpu/drm/msm/dsi/dsi_host.c -+++ b/drivers/gpu/drm/msm/dsi/dsi_host.c -@@ -1075,9 +1075,21 @@ static void dsi_wait4video_done(struct msm_dsi_host *msm_host) - - static void dsi_wait4video_eng_busy(struct msm_dsi_host *msm_host) - { -+ u32 data; -+ - if (!(msm_host->mode_flags & MIPI_DSI_MODE_VIDEO)) - return; - -+ data = dsi_read(msm_host, REG_DSI_STATUS0); -+ -+ /* if video mode engine is not busy, its because -+ * either timing engine was not turned on or the -+ * DSI controller has finished transmitting the video -+ * data already, so no need to wait in those cases -+ */ -+ if (!(data & DSI_STATUS0_VIDEO_MODE_ENGINE_BUSY)) -+ return; -+ - if (msm_host->power_on && msm_host->enabled) { - dsi_wait4video_done(msm_host); - /* delay 4 ms to skip BLLP */