disp: msm: sde: stop crtc features during encoder disable

Encoder is disabling planes and unstaging layers from layer mixer. Some
of the crtc features are dependent on the plane being staged. Change
adds api that encoder can call on crtc to stop the features that are
dependent on source pipes.

Change-Id: I4d875155ceb8f66acfe6ce0096141ca7253bb140
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
This commit is contained in:
Gopikrishnaiah Anandan
2020-12-23 14:17:38 -08:00
szülő 16c3eae807
commit d9187ba0d9
5 fájl változott, egészen pontosan 22 új sor hozzáadva és 3 régi sor törölve

Fájl megtekintése

@@ -7342,3 +7342,8 @@ static void sde_cp_crtc_apply_noise(struct drm_crtc *crtc,
if (!cstate->noise_layer_en)
clear_bit(SDE_CRTC_NOISE_LAYER, cstate->dirty);
}
void sde_crtc_disable_cp_features(struct drm_crtc *crtc)
{
sde_cp_disable_features(crtc);
}