drm/i915: Fix semaphore emission for BDW+ RCS ringbuffer emission
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Mar 2017 15:17:24 +0000 (15:17 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Mar 2017 17:10:27 +0000 (17:10 +0000)
commit6f9b850bec05ba8b08c504112808973259e41140
treefb13e7b1add735f39508c2b2fabad37c44086222
parente02d9d76bf4de91d6eddf73345c5e8a9ae5a5f9f
drm/i915: Fix semaphore emission for BDW+ RCS ringbuffer emission

The required number of dwords for semaphore emission on BDW RCS is 8,
not 6 - leading to ring buffer corruption and immediate GPU hangs when
using ringbuffer submission.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170324151724.32640-2-chris@chris-wilson.co.uk
Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
drivers/gpu/drm/i915/intel_ringbuffer.c