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>
此提交包含在:
@@ -934,7 +934,7 @@ static int _sde_encoder_atomic_check_reserve(struct drm_encoder *drm_enc,
|
||||
int ret = 0;
|
||||
struct drm_display_mode *adj_mode = &crtc_state->adjusted_mode;
|
||||
|
||||
if (sde_conn && msm_atomic_needs_modeset(crtc_state)) {
|
||||
if (sde_conn && msm_atomic_needs_modeset(crtc_state, conn_state)) {
|
||||
struct msm_display_topology *topology = NULL;
|
||||
|
||||
ret = sde_connector_get_mode_info(&sde_conn->base,
|
||||
|
新增問題並參考
封鎖使用者