aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-03-28 14:14:07 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-03-28 15:59:12 +0100
commit090e5fe3f0115ff0bcb299bb90cfd8cb82f5cbf8 (patch)
tree2ad7be225ba33502c68351d9d778efed8366b2ee /init
parentf5073824efc856c9a8f56706f03ad4e07b779a36 (diff)
downloadlinux-090e5fe3f0115ff0bcb299bb90cfd8cb82f5cbf8.tar.gz
drm/i915: Take rpm wakelock around debugfs/i915_gpu_info
Capturing GPU state requires the device to be awake in order to read registers. Normally, this is taken along the error handler, but for the direct debugfs access, we cannot make assumptions about the current device state and so either need to wake it up, or abort. Fixes: 5a4c6f1b1b2d ("drm/i915: The return of i915_gpu_info to debugfs") Testcase: igt/pm_rpm/debugfs-read Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170328131407.14863-1-chris@chris-wilson.co.uk Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions