disp: msm: add connector state along with crtc state to detect modeset
During modeset, private mode changed is detected from msm_display_mode which is present in sde_connector_state. In the current code, sde_connector_state is found from the drm_connector variable which will not be valid during atomic check phase and new connector state is required here. To handle this, drm_connector_state is passed along with the drm_crtc_state while detecting msm_atomic_needs_modeset condition. Change-Id: I62c162eff6e1c091cb05b3f049a40a0f25b710ba Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
This commit is contained in:

committed by
Raviteja Tamatam

parent
807f03d2c9
commit
ffc7cdbe08
@@ -2519,7 +2519,7 @@ int sde_rm_reserve(
|
||||
|
||||
/* Check if this is just a page-flip */
|
||||
if (!_sde_rm_is_display_in_cont_splash(sde_kms, enc) &&
|
||||
!msm_atomic_needs_modeset(crtc_state))
|
||||
!msm_atomic_needs_modeset(crtc_state, conn_state))
|
||||
return 0;
|
||||
|
||||
comp_info = kzalloc(sizeof(*comp_info), GFP_KERNEL);
|
||||
|
Reference in New Issue
Block a user