Browse Source

disp: msm: sde: Remove duplicate destination scaler checks

Delete destination scaler dirty bit clearing when crtc
is disabled as well as during duplicate state.

Change-Id: I4b2201c792a6750c060b2d9291d52547d8a81c15
Signed-off-by: Manoj Kumar AVM <[email protected]>
Signed-off-by: obrody <[email protected]>
obrody 5 years ago
parent
commit
0fbdc8458e
1 changed files with 0 additions and 5 deletions
  1. 0 5
      msm/sde/sde_crtc.c

+ 0 - 5
msm/sde/sde_crtc.c

@@ -3834,9 +3834,6 @@ static struct drm_crtc_state *sde_crtc_duplicate_state(struct drm_crtc *crtc)
 			old_cstate, cstate,
 			&cstate->property_state, cstate->property_values);
 
-	/* clear destination scaler dirty bit */
-	clear_bit(SDE_CRTC_DIRTY_DEST_SCALER, cstate->dirty);
-
 	/* duplicate base helper */
 	__drm_atomic_helper_crtc_duplicate_state(crtc, &cstate->base);
 
@@ -4059,8 +4056,6 @@ static void sde_crtc_disable(struct drm_crtc *crtc)
 	msm_mode_object_event_notify(&crtc->base, crtc->dev, &event,
 			(u8 *)&power_on);
 
-	bitmap_fill(cstate->dirty, SDE_CRTC_DIRTY_MAX);
-
 	_sde_crtc_flush_event_thread(crtc);
 
 	SDE_EVT32(DRMID(crtc), sde_crtc->enabled,