drm/i915: Empty the circular buffer when asked for a new source
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 15 Oct 2013 17:55:33 +0000 (18:55 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Oct 2013 11:32:12 +0000 (13:32 +0200)
commit4b584369c6d6b75c9dbfeeb0896853874d031897
tree608e8278bb0d33b2080ddef04c980956fdc79ad1
parentae676fcd2a93bf1809cddbd79e37b37609791dc2
drm/i915: Empty the circular buffer when asked for a new source

So we don't read out stale CRCs from a previous run left in the buffer.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c