Explorar o código

disp: msm: remove unnecessary vblank get and put

Remove unnecessary vblank get and put. This call is
not required before calling wait for crtc commit done
because downstream driver has its own vblank refcount.
Without this change vblank enable call is seen every
vsync.

Change-Id: I1c692f1d2084dbe7ad2f594ddae3907a4a10bb96
Signed-off-by: Samantha Tran <[email protected]>
Samantha Tran %!s(int64=6) %!d(string=hai) anos
pai
achega
d90958649c
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      msm/msm_atomic.c

+ 0 - 5
msm/msm_atomic.c

@@ -170,12 +170,7 @@ static void msm_atomic_wait_for_commit_done(
 		if (!new_crtc_state->active)
 			continue;
 
-		if (drm_crtc_vblank_get(crtc))
-			continue;
-
 		kms->funcs->wait_for_crtc_commit_done(kms, crtc);
-
-		drm_crtc_vblank_put(crtc);
 	}
 }