disp: msm: sde: update misr check to configure misr in secure UI

This change updates misr checks so that misr can be
configured during secure display session. In the current
code, misr_reconfigure flag is set only when accessing
through debugfs node.

Change-Id: Ic3a8316a4881551da3f0f340f6ef5ae3fbe4913f
Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
This commit is contained in:
Yashwanth
2020-08-25 13:39:05 +05:30
vanhempi 6f85b051af
commit 45d0998b96
2 muutettua tiedostoa jossa 6 lisäystä ja 5 poistoa

Näytä tiedosto

@@ -5711,9 +5711,6 @@ void sde_crtc_misr_setup(struct drm_crtc *crtc, bool enable, u32 frame_count)
}
sde_crtc = to_sde_crtc(crtc);
if (!sde_crtc->misr_reconfigure)
return;
sde_crtc->misr_enable_sui = enable;
sde_crtc->misr_frame_count = frame_count;
for (i = 0; i < sde_crtc->num_mixers; ++i) {
@@ -5723,7 +5720,6 @@ void sde_crtc_misr_setup(struct drm_crtc *crtc, bool enable, u32 frame_count)
m->hw_lm->ops.setup_misr(m->hw_lm, enable, frame_count);
}
sde_crtc->misr_reconfigure = false;
}
void sde_crtc_get_misr_info(struct drm_crtc *crtc,