drm/i915: Move get-reset-stats ioctl from intel_uncore.c to i915_gem_context.c
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 May 2016 10:57:19 +0000 (11:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 May 2016 11:38:42 +0000 (12:38 +0100)
commitd538704ba0afdb5fc5b91be0b91e82fd19ad1707
treea90363e5bb890ad7f89a65b657cbb75c24ce275a
parent1b6f49589cee11c72399727e7e5517ea5b4eb2e1
drm/i915: Move get-reset-stats ioctl from intel_uncore.c to i915_gem_context.c

The get-reset-stats ioctl reports upon the statistics (number of hangs,
be it as a victim or the guilty party) of a particular context. It is
semantically better as being part of i915_gem_context.c user interface,
as opposed to the hardware level access of intel_uncore.c

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463137042-9669-1-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/intel_uncore.c