summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2014-04-04 16:12:09 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-04-09 14:37:12 +0200
commit9393707190194eb8b42e412b444a03331db6862f (patch)
tree45d608acbd32b323cbf39d7c456c91e24d3f8d3d /drivers/gpu/drm/i915/intel_display.c
parent935f38d6948eb0bf10ac691d010fec9e9163a9c6 (diff)
downloadlwn-9393707190194eb8b42e412b444a03331db6862f.tar.gz
lwn-9393707190194eb8b42e412b444a03331db6862f.zip
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 373ffdb97ae3..b2ec242add84 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -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");
}
/**