Browse Source

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 năm trước cách đây
mục cha
commit
d90958649c
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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);
 	}
 }