]> git.baikalelectronics.ru Git - kernel.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)
commit19e4c36459db968aeeab76d0fe2050823c8a3bc4
treeeb2be8d67836397d9e5fea75c10509055bc85c7e
parent22513d75272c6b2c5f6d3d3a3b27f2165c1c9c43
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