]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use 0 for the unordered context
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 19 Aug 2019 18:44:03 +0000 (19:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 19 Aug 2019 19:07:03 +0000 (20:07 +0100)
commit3327a50b6b5dc97c66b3633166c447354c20188a
treebae76dc5054fbc15658a8d9f752cae4a1603fdb3
parent9bc7c061d5b2720e5318e76a32050224f8d49ab4
drm/i915: Use 0 for the unordered context

Since commit f5d9b76ba617 ("dma-buf: add dma_fence_get_stub") the 0
fence context became an impossible match as it is used for an always
signaled fence. We can simplify our timeline tracking by knowing that 0
always means no match.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190819184404.24200-1-chris@chris-wilson.co.uk
Link: https://patchwork.freedesktop.org/patch/msgid/20190819175109.5241-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_clflush.c
drivers/gpu/drm/i915/gem/i915_gem_client_blt.c
drivers/gpu/drm/i915/gem/i915_gem_fence.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_request.c