]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: get/put runtime PM at i915_semaphore_status
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 9 Jul 2014 17:31:57 +0000 (14:31 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Jul 2014 06:30:06 +0000 (08:30 +0200)
commite6cf39f48e055a5c4575a65c4c711259c28bb842
tree2cb026394ae1f2b9409fb86746267fcedf7ff479
parentbf36df63cb6629d29c0fea4591f2d9ec3178b06a
drm/i915: get/put runtime PM at i915_semaphore_status

Otherwise we will print some WARNs when we read registers and the
machine is suspended.

Testcase: igt/pm_rpm/debugfs-read
Cc: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c