]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Mark up debugfs with rpm wakeref tracking
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 14:21:14 +0000 (14:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 16:18:08 +0000 (16:18 +0000)
commita037121c3c7fb7e3d88f9a27d3d77581404f9b1d
treeeb2be8d67836397d9e5fea75c10509055bc85c7e
parent48d1c812160712429c8eacbe7ca7d72c2d06ae26
drm/i915: Mark up debugfs with rpm wakeref tracking

As debugfs has a simple pattern of taking a rpm wakeref around the user
access, we can track the local reference and drop it as soon as
possible.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190114142129.24398-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c