OSDN Git Service

drm/i915: use the new iterator in i915_sw_fence_await_reservation v3
authorChristian König <christian.koenig@amd.com>
Mon, 13 Sep 2021 09:45:31 +0000 (11:45 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 17 Nov 2021 13:24:15 +0000 (14:24 +0100)
commit1b5bdf071e62ac57ad699d60ddbd392b266f58b0
treeadd636ca7cc6ce5da8cdcd6ff7fd9a330fcc1c7f
parent73495209f645183c84a86bc067818a8c4ac20fdd
drm/i915: use the new iterator in i915_sw_fence_await_reservation v3

Simplifying the code a bit.

v2: use dma_resv_for_each_fence instead, according to Tvrtko the lock is
    held here anyway.
v3: back to using dma_resv_for_each_fence_unlocked.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211116102431.198905-4-christian.koenig@amd.com
drivers/gpu/drm/i915/i915_sw_fence.c