]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm/dpu: try reserving the DSPP-less LM first
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Thu, 15 Jan 2026 20:05:39 +0000 (22:05 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Wed, 21 Jan 2026 00:10:43 +0000 (02:10 +0200)
commit42f62cd795782ab29eca6ca3572d98e392fc9408
treee323144243f43235a8bf8d0d74f0797816bead10
parent98c8f146f5744347f15c824fb9442867c71c4d32
drm/msm/dpu: try reserving the DSPP-less LM first

On most of the platforms only some mixers have connected DSPP blocks.
If DSPP is not required for the CRTC, try looking for the LM with no
DSSP block, leaving DSPP-enabled LMs to CRTCs which actually require
those.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/698773/
Link: https://lore.kernel.org/r/20260115-dpu-fix-dspp-v1-2-b73152c147b3@oss.qualcomm.com
drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c