]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Prevent use of global_seqno=0
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 19 Jan 2019 14:30:24 +0000 (14:30 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Jan 2019 09:25:43 +0000 (09:25 +0000)
commita491af6b79719eaf94ab63650ed7ef5e1e553b0e
tree6ca5324b0dd43fa63385430a8334fa9a8c300894
parent6f32bd5391ae12226744c1c50f7c4119be9bea37
drm/i915: Prevent use of global_seqno=0

We are not allowed to assign rq->global_seqno=0 as it has a special
meaning of "inactive" (not executing on HW).

Fixes: 52769ce5d054 ("drm/i915: Remove HW semaphores for gen7 inter-engine synchronisation")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190119143024.26971-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c