aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2025-02-06 13:16:06 +0000
committerAlex Deucher <[email protected]>2025-03-21 16:16:34 +0000
commit1bb1314d0b15dc6fc2178fe169f5121818094e8a (patch)
tree6a18fe3ff2ec7023c3db19ad284ba738cbba3b06 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdgpu: stop reserving VMIDs to enforce isolation (diff)
downloadkernel-1bb1314d0b15dc6fc2178fe169f5121818094e8a.tar.gz
kernel-1bb1314d0b15dc6fc2178fe169f5121818094e8a.zip
drm/amdgpu: add isolation trace point
Note when we switch from one isolation owner to another. Signed-off-by: Christian König <[email protected]> Acked-by: Srinivasan Shanmugam <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 662c83d72509..6ebf6179064b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -7028,6 +7028,7 @@ struct dma_fence *amdgpu_device_enforce_isolation(struct amdgpu_device *adev,
dma_fence_put(isolation->spearhead);
isolation->spearhead = dma_fence_get(&f->scheduled);
amdgpu_sync_move(&isolation->active, &isolation->prev);
+ trace_amdgpu_isolation(isolation->owner, owner);
isolation->owner = owner;
}