drm/i915/panel: Track temporary rpm wakeref
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 14:21:21 +0000 (14:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 16:18:19 +0000 (16:18 +0000)
commit2cb2cb5ff41abd92d6a7bfb1459b25974fa6d509
treead4e3ffc7cf6b02477a3cc041f468487a003c6dd
parent6a712a20bff467e82c3507c4286f04499af1c52d
drm/i915/panel: Track temporary rpm wakeref

Keep track of the temporary rpm wakeref used for panel backlight access,
so that we can cancel it immediately upon release and so more clearly
identify leaks.

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-13-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_panel.c