drm/i915: SNB BLT workaround
commit8d19215be8254f4f75e9c5a0d28345947b0382db
authorZou Nan hai <nanhai.zou@intel.com>
Tue, 2 Nov 2010 08:31:01 +0000 (2 16:31 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Nov 2010 10:44:23 +0000 (2 10:44 +0000)
tree178c5be6a4d209058cb8354d060586b6370086cd
parent897ef192514a6b0fc10a0ce3fe7e7aa0de09bc52
drm/i915: SNB BLT workaround

On some stepping of SNB cpu, the first command to be parsed in BLT
command streamer should be MI_BATCHBUFFER_START otherwise the GPU
may hang.

Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
[ickle: rebased for -next]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h