Skip to content

Commit bbc65d1

Browse files
vldlylumag
authored andcommitted
drm/msm/dpu: Disable broken YUV on QSEED2 hardware
YUV formats on this hardware needs scaling for chroma planes. However it is not implemented for QSEED2 which breaks display pipeline if YUV format is used (causing partial and corrupted output with PPDONE timeouts). This patch temporarily disables YUV by switching affected sub-block to RGB only format list. Fixes: daf9a92 ("drm/msm/dpu: Add support for MSM8996") Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/682061/ Link: https://lore.kernel.org/r/20251018-b4-dpu-fixes-v1-6-1852278064d0@gmail.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent 5e0656b commit bbc65d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ static const u32 wb2_formats_rgb_yuv[] = {
267267
.base = 0x200, .len = 0xa0,}, \
268268
.csc_blk = {.name = "csc", \
269269
.base = 0x320, .len = 0x100,}, \
270-
.format_list = plane_formats_yuv, \
271-
.num_formats = ARRAY_SIZE(plane_formats_yuv), \
270+
.format_list = plane_formats, \
271+
.num_formats = ARRAY_SIZE(plane_formats), \
272272
.rotation_cfg = NULL, \
273273
}
274274

0 commit comments

Comments
 (0)