]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9acb3e9ea8526e82e8b4c795bd99bd0f5d1867f8
tree8a3ecd53b4a09199a2f23b596a6118b4e803174b
parentecd97a91b4fd836246722321fcab8262b6e727f2
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