]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use dma_resv_for_each_fence for CS workaround v2
authorChristian König <christian.koenig@amd.com>
Wed, 3 Nov 2021 12:22:42 +0000 (13:22 +0100)
committerChristian König <christian.koenig@amd.com>
Sun, 3 Apr 2022 16:50:49 +0000 (18:50 +0200)
commitf41c56757a8341cbcf0735243834cdddd3aa8673
treee52a528e97e849db42f01345bdcdcb67bd50b1b5
parent297ddc5f19d1562218e842c17cbeaa9834ede308
drm/amdgpu: use dma_resv_for_each_fence for CS workaround v2

Get the write fence using dma_resv_for_each_fence instead of accessing
it manually.

v2: add TODO comment

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20220321135856.1331-9-christian.koenig@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c