Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffd90498 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: clear cached encoder rois on enable"

parents 2f39c721 bc01cbda
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1418,6 +1418,9 @@ static void _sde_encoder_virt_enable_helper(struct drm_encoder *drm_enc)
		hw_mdptop->ops.setup_vsync_sel(hw_mdptop, &te_cfg,
				sde_enc->disp_info.is_te_using_watchdog_timer);
	}

	memset(&sde_enc->prv_conn_roi, 0, sizeof(sde_enc->prv_conn_roi));
	memset(&sde_enc->cur_conn_roi, 0, sizeof(sde_enc->cur_conn_roi));
}

void sde_encoder_virt_restore(struct drm_encoder *drm_enc)