drm/i915: get runtime PM at i915_display_info
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 1 Apr 2014 17:55:10 +0000 (14:55 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 20:53:43 +0000 (22:53 +0200)
commitb0e5ddf3236bca2c67f7b4454b1c2ba520149c23
tree0df437cdd1bbfeee4393410ac0f24cb51d1856da
parentefbc20abd826033859cc28d1442e48640cf09045
drm/i915: get runtime PM at i915_display_info

Otherwise we may get some WARNs complaining that we're reading a
register while we're suspended.

Testcase: igt/pm_pc8/debugfs-read
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c