]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use new iterator in i915_gem_object_wait_reservation
authorChristian König <christian.koenig@amd.com>
Thu, 21 Oct 2021 10:35:39 +0000 (12:35 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 17 Nov 2021 13:26:24 +0000 (14:26 +0100)
commitf515c4b68c10f27c0fd0814811530f9eec745151
tree2e714b255b7798b9fc45f6c62c20a92dbc57147b
parent298c035a9c4eb63f994885da77064834de6c4e26
drm/i915: use new iterator in i915_gem_object_wait_reservation

Simplifying the code a bit.

Signed-off-by: Christian König <christian.koenig@amd.com>
[mlankhorst: Handle timeout = 0 correctly, use new i915_request_wait_timeout.]
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211116102431.198905-7-christian.koenig@amd.com
drivers/gpu/drm/i915/gem/i915_gem_wait.c