diff options
author | Zou Nan hai <nanhai.zou@intel.com> | 2010-11-09 17:17:32 +0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-11 17:45:54 +0000 |
commit | cae5852dcaa1139b198e13ebd3aeb7f3c065f875 (patch) | |
tree | 7a6789974c1e5d2f76cf21fb6c8fd1df8711c2ab /drivers/md | |
parent | 527f9e907c39f7e88abb57eaa8bccb43c8706a3d (diff) | |
download | blackbird-op-linux-cae5852dcaa1139b198e13ebd3aeb7f3c065f875.tar.gz blackbird-op-linux-cae5852dcaa1139b198e13ebd3aeb7f3c065f875.zip |
drm/i915/ringbuffer: set FORCE_WAKE bit before reading ring register
Before reading ring register, set FORCE_WAKE bit to prevent GT core
power down to low power state, otherwise we may read stale values.
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
[ickle: added a udelay which seemed to do the trick on my SNB]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions