Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb31986b authored by Steve Cohen's avatar Steve Cohen
Browse files

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: default avatarSteve Cohen <cohens@codeaurora.org>
parent 7e6415ab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);