disp: msm: dp: force max bpp to 24 for MST

Force max supported bpp to 24 to improve stability of MST usecases.

Change-Id: I5b0e6ad86df39915073f469ea67e6addea165965
Signed-off-by: Nisarg Bhavsar <quic_bhavsar@quicinc.com>
Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com>
This commit is contained in:
Nisarg Bhavsar
2023-03-07 14:43:15 -08:00
committed by Rajkumar Subbiah
parent c3622fa326
commit 1948a72655

View File

@@ -1930,8 +1930,8 @@ static u32 dp_panel_get_supported_bpp(struct dp_panel *dp_panel,
panel = container_of(dp_panel, struct dp_panel_private, dp_panel);
if (dp_panel->mst_state && panel->base)
max_supported_bpp = panel->base->max_supported_bpp;
if (dp_panel->mst_state)
max_supported_bpp = 24;
if (dsc_en)
min_supported_bpp = 24;