]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: assert we're not runtime suspended when accessing registers
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 21 Feb 2014 16:52:28 +0000 (13:52 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Mar 2014 20:30:19 +0000 (21:30 +0100)
commit6f0ea9e212b36fe831f104ab2ac7582b9741600a
tree1db8b31efb3173c164da3cb01b7b28974d79deff
parente998c40fed02c258404d11dcf66409c390e3ef9a
drm/i915: assert we're not runtime suspended when accessing registers

I could swear this was already happening in the current code...

Also, put the reads and writes in a generic place, so we don't forget
it again when we add runtime PM support to new platforms.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c