]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix the eviction fence dereference
authorPrike Liang <Prike.Liang@amd.com>
Tue, 15 Apr 2025 02:42:19 +0000 (10:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 May 2025 21:41:54 +0000 (17:41 -0400)
commitaf7160c25c68520299db40d608892810904fa064
tree0f2de14f0536c5241d9cbba21883d16468ac62a6
parent5da3d8820dd3202d5ae871050e45facb2787235d
drm/amdgpu: fix the eviction fence dereference

The dma_resv_add_fence() already refers to the added fence.
So when attaching the evciton fence to the gem bo, it needn't
refer to it anymore.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c