disp: msm: sde: update ds atomic check for pu and cwb

This change fixes the destination scaler atomic check
to support PU with CWB disable without an additional
frame in between. It also fixes the destination height
calculation.

Change-Id: I93ae8471d2db0b4e2574d18a873d4d4e180cbcbb
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Cette révision appartient à :
Lakshmi Narayana Kalavala
2019-04-23 14:54:09 -07:00
Parent eeaef40ed6
révision 78560ee888
2 fichiers modifiés avec 2 ajouts et 2 suppressions

Voir le fichier

@@ -923,7 +923,7 @@ static int _sde_encoder_atomic_check_pu_roi(struct sde_encoder_virt *sde_enc,
{
int ret = 0;
if (drm_atomic_crtc_needs_modeset(crtc_state)) {
if (crtc_state->mode_changed || crtc_state->active_changed) {
struct sde_rect mode_roi, roi;
mode_roi.x = 0;