Skip to contentSkip to conversation

drm/amdgpu: remove spurious line in amdgpu_ring_find_guilty_fence()

PATCH In review Alex Deucher 2 participants 2 messages Jun 4 – Jun 5

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu: remove spurious line in amdgpu_ring_find_guilty_fence()

Copy-paste error.

Fixes f647ddad8ace ("drm/amdgpu/fence: add helper to extract the guilty fence")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +0 -1
index 8569c1c637a2b..3043ad041bb42 100644
@@ -842,7 +842,6 @@ amdgpu_ring_find_guilty_fence(struct amdgpu_ring *ring)
 
 	last_seq = amdgpu_fence_read(ring) & ring->fence_drv.num_fences_mask;
 	seq = ring->fence_drv.sync_seq & ring->fence_drv.num_fences_mask;
-	ring->ring_backup_entries_to_copy = 0;
 
 	do {
 		last_seq++;
Signature · 1 line
2.54.0
Reviewed-by on v1 1/1
#1 lore raw

AMD General

Quoted 32 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Friday, June 5, 2026 4:54 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu: remove spurious line in amdgpu_ring_find_guilty_fence()

Copy-paste error.

Fixes f647ddad8ace ("drm/amdgpu/fence: add helper to extract the guilty fence")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +0 -2
index 8569c1c637a2b..3043ad041bb42 100644
@@ -842,7 +842,6 @@ amdgpu_ring_find_guilty_fence(struct amdgpu_ring *ring)
 
      last_seq = amdgpu_fence_read(ring) & ring->fence_drv.num_fences_mask;
      seq = ring->fence_drv.sync_seq & ring->fence_drv.num_fences_mask;
-     ring->ring_backup_entries_to_copy = 0;
 
      do {
              last_seq++;
--

2.54.0