]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: add struct i915_ctx_hang_stats
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Wed, 12 Jun 2013 09:35:28 +0000 (12:35 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Jun 2013 15:42:14 +0000 (17:42 +0200)
commite59ec13de40ed1edd19940322ebd009423fd716d
treea2a1707ea7a5dba1836618d9ff2ed75cd580ba74
parente0d8d59b0831523da61739c9d5e3bc3c77d7b5db
drm/i915: add struct i915_ctx_hang_stats

To count context losses, add struct i915_ctx_hang_stats for
both i915_hw_context and drm_i915_file_private.
drm_i915_file_private is used when there is no context.

v2: renamed and cleaned up the struct (Chris Wilson, Ian Romanick)

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h