]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/msm/dpu: relax YUV requirements
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 26 Jun 2024 21:45:56 +0000 (00:45 +0300)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Mon, 5 Aug 2024 20:55:57 +0000 (13:55 -0700)
commitcb18195914e353ece0e789e365a5a16872169805
treed65ea74ec9c50b6030d83e00bfb38b901484b79f
parent2db13c4a631505029ada9404e09a2b06a268c1c4
drm/msm/dpu: relax YUV requirements

YUV formats require only CSC to be enabled. Even decimated formats
should not require scaler. Relax the requirement and don't check for the
scaler block while checking if YUV format can be enabled.

Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/601049/
Link: https://lore.kernel.org/r/20240627-dpu-virtual-wide-v5-2-5efb90cbb8be@linaro.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c