drm/i915: Keep the CRC values into a circular buffer
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 15 Oct 2013 17:55:29 +0000 (18:55 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Oct 2013 11:32:10 +0000 (13:32 +0200)
commitb2c88f5b1dea77b57759387728917a124eb1c098
treeb82258528bfb2cbb7b2ff03cced9ba30e818a30c
parent926321d503406d1fefb2fae9651beca14160529a
drm/i915: Keep the CRC values into a circular buffer

There are a few good properties to a circular buffer, for instance it
has a number of entries (before we were always dumping the full 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
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c