disp: msm: sde: avoid going to solver mode for video mode

Avoid updating the rsc state to solver mode for video mode panels
on targets with rsc version 3 and up.

Change-Id: I238f130c914c8c845c172746cc2025acd37840d3
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
This commit is contained in:
Steve Cohen 2020-03-21 16:46:53 -04:00
parent 7e6415ab67
commit bb31986be7

View File

@ -927,6 +927,9 @@ int sde_rsc_client_state_update(struct sde_rsc_client *caller_client,
__builtin_return_address(0), rsc->current_state,
caller_client->name, state);
if ((state == SDE_RSC_VID_STATE) && (rsc->version >= SDE_RSC_REV_3))
state = SDE_RSC_CLK_STATE;
if (rsc->current_state == SDE_RSC_IDLE_STATE)
sde_rsc_resource_enable(rsc);