summaryrefslogtreecommitdiffstats
path: root/drivers/hsi
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@linux.intel.com>2013-06-12 12:35:29 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-06-13 17:42:15 +0200
commitc0bb617a70c94d660001f06f9810d53085e2c88d (patch)
treef2b65ec1f0af69c876f4b976fd6b0e57af020743 /drivers/hsi
parente59ec13de40ed1edd19940322ebd009423fd716d (diff)
downloadblackbird-op-linux-c0bb617a70c94d660001f06f9810d53085e2c88d.tar.gz
blackbird-op-linux-c0bb617a70c94d660001f06f9810d53085e2c88d.zip
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/hsi')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud