[PATCH v2 16/20] drm/msm/dp: Disable PSR for YUV420 streams
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Mon Oct 12 07:36:35 PDT 2026
On Fri, Oct 09, 2026 at 11:16:08AM +0800, Xilin Wu wrote:
> YUV420 uses colorimetry VSC packets, which cannot share the automatic
> PSR packet generator. Do not advertise self-refresh eligibility for
> these streams while disabling PSR in the controller and sink.
I'd need to check if it's possible to handle both. Otherwise it looks
good.
>
> Compute eligibility after the common atomic check and reject an
> incompatible self-refresh entry. Clear the automatic VSC generation bit
> for YUV420 and restore PSR configuration when returning to RGB.
>
> Assisted-by: LLM
> Signed-off-by: Xilin Wu <sophon at radxa.com>
> ---
> drivers/gpu/drm/msm/dp/dp_ctrl.c | 19 ++++++++++++-------
> drivers/gpu/drm/msm/dp/dp_ctrl.h | 2 +-
> drivers/gpu/drm/msm/dp/dp_display.c | 3 ++-
> drivers/gpu/drm/msm/dp/dp_drm.c | 16 ++++++++++++----
> 4 files changed, 27 insertions(+), 13 deletions(-)
>
--
With best wishes
Dmitry
More information about the linux-arm-kernel
mailing list