Skip to content

Commit

Permalink
drm/atomic-helper: Print an error if vblank wait times out
Browse files Browse the repository at this point in the history
Vblank waits timing out is no a normal thing to happen, so let's inform
people when it happens.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1460978973-24945-2-git-send-email-ville.syrjala@linux.intel.com
  • Loading branch information
Ville Syrjälä authored and Daniel Vetter committed Apr 18, 2016
1 parent 1652fce commit 8d4d0d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/drm_atomic_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,8 @@ drm_atomic_helper_wait_for_vblanks(struct drm_device *dev,
drm_crtc_vblank_count(crtc),
msecs_to_jiffies(50));

WARN(!ret, "[CRTC:%d] vblank wait timed out\n", crtc->base.id);

drm_crtc_vblank_put(crtc);
}
}
Expand Down

0 comments on commit 8d4d0d7

Please sign in to comment.