drm/i915: get runtime PM at i915_reg_read_ioctl
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 1 Apr 2014 17:55:08 +0000 (14:55 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 20:41:47 +0000 (22:41 +0200)
commitcf67c70fa213cdf760b97f143b68eed7630efe78
tree284e1fe8698f5d505e9232ef61756e773df49e1e
parentaa0b3b5bb8768c1a6a6788869d9c7015eae7e80c
drm/i915: get runtime PM at i915_reg_read_ioctl

To avoid WARNs when we call it.

Testcase: igt/pm_pc8/reg-read-ioctl
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75693
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c