commit | cae5852dcaa1139b198e13ebd3aeb7f3c065f875 | [log] [tgz] |
---|---|---|
author | Zou Nan hai <nanhai.zou@intel.com> | Tue Nov 09 17:17:32 2010 +0800 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Nov 11 17:45:54 2010 +0000 |
tree | 7a6789974c1e5d2f76cf21fb6c8fd1df8711c2ab | |
parent | 527f9e907c39f7e88abb57eaa8bccb43c8706a3d [diff] |
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>