@@ -640,7 +640,7 @@ void intel_pipe_update_end(struct intel_atomic_state *state,
if (old_plane_state->uapi.crtc == &crtc->base &&
old_plane_state->unpin_work.vblank) {
drm_vblank_work_schedule(&old_plane_state->unpin_work,
- drm_crtc_accurate_vblank_count(&crtc->base) + 1,
+ drm_crtc_accurate_vblank_count(&crtc->base),
false);
/* Remove plane from atomic state, cleanup/free is done from vblank worker. */
@@ -833,7 +833,7 @@ intel_legacy_cursor_update(struct drm_plane *_plane,
intel_cursor_unpin_work);
drm_vblank_work_schedule(&old_plane_state->unpin_work,
- drm_crtc_accurate_vblank_count(&crtc->base) + 1,
+ drm_crtc_accurate_vblank_count(&crtc->base),
false);
old_plane_state = NULL;
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> --- drivers/gpu/drm/i915/display/intel_crtc.c | 2 +- drivers/gpu/drm/i915/display/intel_cursor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)