]> 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)
commit9ce632f134b397adf1e10429689ba46570d2c393
treee52a528e97e849db42f01345bdcdcb67bd50b1b5
parentf374309e18730399a2bb6bc5ebf650e534468283
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