disp: msm: sde: handle cont-splash & check only rm reserve

On the first commit, cont splash flag is still enabled on
encoder, but connector is not yet attached. When a check-only
rm reservation is made, it does not get released due to
cont-splash check. If cont-splash is enabled, rm should
not check for connector, but directly release rsvp_nxt.

Change-Id: I79be3c1bb20b74ce4a95786c90f3accfb587d7f2
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
This commit is contained in:
Nilaan Gunabalachandran
2019-04-26 16:29:42 -04:00
committed by Gerrit - the friendly Code Review server
vanhempi e90235e1b3
commit ce0fef975e
2 muutettua tiedostoa jossa 15 lisäystä ja 1 poistoa

Näytä tiedosto

@@ -3313,7 +3313,7 @@ static void sde_crtc_destroy_state(struct drm_crtc *crtc,
SDE_DEBUG("crtc%d\n", crtc->base.id);
if (sde_kms && enc && !sde_encoder_in_cont_splash(enc))
if (sde_kms && enc)
sde_rm_release(&sde_kms->rm, enc, true);
__drm_atomic_helper_crtc_destroy_state(state);