[PATCH v3 19/19] drm/msm/dp: allow YUV420 mode for DP connector when CDM available
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu Feb 15 08:57:19 UTC 2024
On Wed, 14 Feb 2024 at 20:04, Paloma Arellano <quic_parellan at quicinc.com> wrote:
>
> All the components of YUV420 over DP are added. Therefore, let's mark the
> connector property as true for DP connector when the DP type is not eDP
> and when there is a CDM block available.
>
> Changes in v3:
> - Move setting the connector's ycbcr_420_allowed parameter so
> that it is not dependent on if the dp_display is not eDP
>
> Changes in v2:
> - Check for if dp_catalog has a CDM block available instead of
> checking if VSC SDP is allowed when setting the dp connector's
> ycbcr_420_allowed parameter
>
> Signed-off-by: Paloma Arellano <quic_parellan at quicinc.com>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4 +++-
> drivers/gpu/drm/msm/dp/dp_display.c | 4 ++--
> drivers/gpu/drm/msm/dp/dp_drm.c | 6 +++++-
> drivers/gpu/drm/msm/dp/dp_drm.h | 3 ++-
> drivers/gpu/drm/msm/msm_drv.h | 5 +++--
> 5 files changed, 15 insertions(+), 7 deletions(-)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the Freedreno
mailing list