drm/msm/mdp5: don't pre-reserve LM's if no dual-dsi
authorRob Clark <robdclark@gmail.com>
Mon, 19 Feb 2018 13:31:29 +0000 (08:31 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 19 Mar 2018 10:33:38 +0000 (06:33 -0400)
commit61b734cb7cac6b06d0b33635622b51066e8da32f
tree4528dcc31404153a36679e232d0bf2c1cd5172a5
parent583c13fd77c7db57add9de84a5e43fbf2be42168
drm/msm/mdp5: don't pre-reserve LM's if no dual-dsi

If there is only a single DSI interface, don't reserve the first two
layer-mixers for the dual-DSI use-case.

This was causing problems for WB, not being able to assign a LM, on
8x16, which has only two LM's and a single DSI.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c