aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h
diff options
context:
space:
mode:
authorEmily Deng <[email protected]>2025-04-08 12:25:43 +0000
committerAlex Deucher <[email protected]>2025-04-21 14:55:51 +0000
commit5ae4591f4ea51519934a14aac537a28f348a8a56 (patch)
treee66f5f34c7b96a2f51eda8acab3f4ce060525e64 /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h
parentdrm/amdgpu/userq: rework driver parameter (diff)
downloadkernel-5ae4591f4ea51519934a14aac537a28f348a8a56.tar.gz
kernel-5ae4591f4ea51519934a14aac537a28f348a8a56.zip
drm/amdgpu: Clear overflow for SRIOV
For VF, it doesn't have the permission to clear overflow, clear the bit by reset. Signed-off-by: Emily Deng <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h
index b0a88f92cd82..7f7ea046e209 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h
@@ -72,6 +72,7 @@ struct amdgpu_ih_ring {
/* For waiting on IH processing at checkpoint. */
wait_queue_head_t wait_process;
uint64_t processed_timestamp;
+ bool overflow;
};
/* return true if time stamp t2 is after t1 with 48bit wrap around */