Преглед на файлове

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 преди 6 години
родител
ревизия
d90958649c
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  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);
 	}
 }