drm/i915: use the new iterator in i915_request_await_object v2
authorChristian König <christian.koenig@amd.com>
Mon, 13 Sep 2021 10:36:42 +0000 (12:36 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 7 Oct 2021 12:49:11 +0000 (14:49 +0200)
commita585070f268223766fcab4b9eb9eade28381eb48
tree36dd5791f791aa5dda51cfce84a5b2d90aef1944
parent9c2ba265352afc633a1e24d89c3ca499a9e429f4
drm/i915: use the new iterator in i915_request_await_object v2

Simplifying the code a bit.

v2: add missing rcu_read_lock()/rcu_read_unlock()
v3: use dma_resv_for_each_fence instead

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211005113742.1101-20-christian.koenig@amd.com
drivers/gpu/drm/i915/i915_request.c