OSDN Git Service

drm/nouveau: use the new iterator in nouveau_fence_sync
authorChristian König <christian.koenig@amd.com>
Wed, 16 Jun 2021 07:20:56 +0000 (09:20 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 22 Oct 2021 12:12:13 +0000 (14:12 +0200)
commit40298cb45071e98c2c6465e2ef25dd8f8af77918
tree1a9a48cb8e5f3935522b3d1ef4f7a5a6f40e70d1
parentdd66f56caea6bb1a3703fb3bfc3106444d05a930
drm/nouveau: use the new iterator in nouveau_fence_sync

Simplifying the code a bit.

The new implementation unifies the handling between drivers and so
results in waiting for all shared fernces in all cases.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211005113742.1101-26-christian.koenig@amd.com
drivers/gpu/drm/nouveau/nouveau_fence.c