drm/i915/ringbuffer: Clear semaphore sync registers on ring init
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Dec 2018 11:36:56 +0000 (11:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Dec 2018 12:25:42 +0000 (12:25 +0000)
commitf36c071f6344e0a335ed4b4e0b3a38c0dd54648b
tree8a3ecd53b4a09199a2f23b596a6118b4e803174b
parentf0ad62a631e040ae4413286a4b46a90c5ce42d07
drm/i915/ringbuffer: Clear semaphore sync registers on ring init

Ensure that the sync registers are cleared every time we restart the
ring to avoid stale values from creeping in from random neutrinos.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108888
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181203113701.12106-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c