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 <samtran@codeaurora.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user