commit | 6f0ea9e212b36fe831f104ab2ac7582b9741600a | [log] [tgz] |
---|---|---|
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | Fri Feb 21 13:52:28 2014 -0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Mar 05 21:30:19 2014 +0100 |
tree | 1db8b31efb3173c164da3cb01b7b28974d79deff | |
parent | e998c40fed02c258404d11dcf66409c390e3ef9a [diff] |
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>