drm/i915: warn when a vblank wait times out

This always indicates a bug somewhere.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Jesse Barnes 2014-04-04 16:12:09 -07:00 committed by Daniel Vetter
parent 935f38d694
commit 9393707190
1 changed files with 1 additions and 1 deletions

View File

@ -765,7 +765,7 @@ static void g4x_wait_for_vblank(struct drm_device *dev, int pipe)
frame = I915_READ(frame_reg);
if (wait_for(I915_READ_NOTRACE(frame_reg) != frame, 50))
DRM_DEBUG_KMS("vblank wait timed out\n");
WARN(1, "vblank wait timed out\n");
}
/**