drm/i915: add runtime PM get/put call in i915_execlists
authorMichel Thierry <michel.thierry@intel.com>
Thu, 16 Oct 2014 15:13:38 +0000 (16:13 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:11 +0000 (16:34 +0200)
commitfc0412ec0ff5aa7eef694ccde47606caa7c089e0
tree593640b8629ccc683da0dd7a9c0b4d0fb504ef3f
parent142d2eca356af6744c7e4bb577c3dfaadee486fc
drm/i915: add runtime PM get/put call in i915_execlists

Otherwise we will get WARNs when we read context status registers and
the machine is suspended.

Testcase: igt/pm_rpm/debugfs-read
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c