On Mon, Dec 09, 2024 at 01:18:36PM -0800, Abhinav Kumar wrote: > On chipsets such as QCS615, there is no 3dmux present. In such > a case, a layer exceeding the max_mixer_width cannot be split, > hence cannot be supported. > > Filter out the modes which exceed the max_mixer_width when there > is no 3dmux present. Also, add a check in the dpu_crtc_atomic_check() > to return failure for such modes. > > Signed-off-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx> > --- > Note: this was only compile tested, so its pending validation on QCS615 > --- > Changes in v3: > - Move && to previous line > - Link to v2: https://lore.kernel.org/r/20241209-no_3dmux-v2-1-fcad057eb92e@xxxxxxxxxxx > > Changes in v2: > - replace MODE_BAD with MODE_BAD_HVALUE to indicate the failure better > - Link to v1: https://lore.kernel.org/r/20241206-no_3dmux-v1-1-72ad2677a323@xxxxxxxxxxx > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> -- With best wishes Dmitry