projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc5e95
)
drm/i915: wait one vblank when disabling CRCs
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 16 Oct 2013 20:55:50 +0000
(22:55 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 18 Oct 2013 13:05:34 +0000
(15:05 +0200)
This avoids a spurious spurious interrupt warning.
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
index baa527234b93678e77127e47447a55f957640c48..e85507b335e541dc17cc0a3b40fb28506c2694d1 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_debugfs.c
+++ b/
drivers/gpu/drm/i915/i915_debugfs.c
@@
-2040,6
+2040,8
@@
static int pipe_crc_set_source(struct drm_device *dev, enum pipe pipe,
DRM_DEBUG_DRIVER("stopping CRCs for pipe %c\n",
pipe_name(pipe));
+ intel_wait_for_vblank(dev, pipe);
+
kfree(pipe_crc->entries);
pipe_crc->entries = NULL;
}