diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2013-06-12 12:35:29 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-06-13 17:42:15 +0200 |
commit | c0bb617a70c94d660001f06f9810d53085e2c88d (patch) | |
tree | f2b65ec1f0af69c876f4b976fd6b0e57af020743 /drivers/crypto/atmel-sha.c | |
parent | e59ec13de40ed1edd19940322ebd009423fd716d (diff) |
drm/i915: add i915_gem_context_get_hang_stats()
To get context hang statistics for specified context,
add i915_gem_context_get_hang_stats().
For arb-robustness, every context needs to have its own
hang statistics tracking. Added function will return
the user specified context statistics or in case of
default context, statistics from drm_i915_file_private.
v2: handle default context inside get_reset_state
v3: return struct pointer instead of passing it in as param
(Chris Wilson)
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>
Diffstat (limited to 'drivers/crypto/atmel-sha.c')
0 files changed, 0 insertions, 0 deletions