diff options
| author | Benjamin Cheng <benjamin.cheng@amd.com> | 2026-11-09 09:45:48 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-11-18 01:44:47 -0500 |
| commit | 70ea88787150cbe514156d7ec49c96d3b8acda76 (patch) | |
| tree | 2ffa32cbec4deb32299df91f32ffa4c4e33b82d9 /tools/perf/scripts/python/bin | |
| parent | 83876755d089321e426a58f365a31b27b2c77f3b (diff) | |
drm/amdgpu/gem: use dma_resv_add_fence directly
Christian pointed out that amdgpu_bo_fence() is deprecated since it
reserves fence slots there outside of the lock. Replace it with a direct
dma_resv_add_fence call here (we reserve the correct amount of fences
already). Also switch it to use the BOOKKEEP usage since these are both
kernel-internal fences.
Signed-off-by: Benjamin Cheng <benjamin.cheng@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 072d03903b17f89280b13e6baaa2f66037fcea4b)
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
