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>
Bu işleme şunda yer alıyor:
Gopikrishnaiah Anandan
2020-12-23 14:17:38 -08:00
ebeveyn 16c3eae807
işleme d9187ba0d9
5 değiştirilmiş dosya ile 22 ekleme ve 3 silme

Dosyayı Görüntüle

@@ -954,4 +954,12 @@ int sde_crtc_get_num_datapath(struct drm_crtc *crtc,
*/
void sde_crtc_reset_sw_state(struct drm_crtc *crtc);
/**
* sde_crtc_disable_cp_features - api to disable cp features that depend on planes being active.
* Encoder disables the planes during suspend and calls this api for the crtc to disable
* any features that require planes to be active
* @crtc: Pointer to DRM crtc object
*/
void sde_crtc_disable_cp_features(struct drm_crtc *crtc);
#endif /* _SDE_CRTC_H_ */