Skip to content

Commit 2db13c4

Browse files
lumagAbhinav Kumar
authored andcommitted
drm/msm/dpu: limit QCM2290 to RGB formats only
The QCM2290 doesn't have CSC blocks, so it can not support YUV formats even on ViG blocks. Fix the formats declared by _VIG_SBLK_NOSCALE(). Fixes: 5334087 ("drm/msm: add support for QCM2290 MDSS") Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/601048/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
1 parent bfa1a62 commit 2db13c4

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
@@ -308,8 +308,8 @@ static const u32 wb2_formats_rgb_yuv[] = {
308308
{ \
309309
.maxdwnscale = SSPP_UNITY_SCALE, \
310310
.maxupscale = SSPP_UNITY_SCALE, \
311-
.format_list = plane_formats_yuv, \
312-
.num_formats = ARRAY_SIZE(plane_formats_yuv), \
311+
.format_list = plane_formats, \
312+
.num_formats = ARRAY_SIZE(plane_formats), \
313313
.virt_format_list = plane_formats, \
314314
.virt_num_formats = ARRAY_SIZE(plane_formats), \
315315
}

0 commit comments

Comments
 (0)