diff options
author | Christian König <christian.koenig@amd.com> | 2025-02-06 14:16:06 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-21 12:16:34 -0400 |
commit | 1bb1314d0b15dc6fc2178fe169f5121818094e8a (patch) | |
tree | 6a18fe3ff2ec7023c3db19ad284ba738cbba3b06 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | db1e58ec86c6e533f983abdbd43145f2ec16bbb8 (diff) | |
download | linux-1bb1314d0b15dc6fc2178fe169f5121818094e8a.tar.gz linux-1bb1314d0b15dc6fc2178fe169f5121818094e8a.tar.bz2 linux-1bb1314d0b15dc6fc2178fe169f5121818094e8a.zip |
drm/amdgpu: add isolation trace point
Note when we switch from one isolation owner to another.
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 |
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; } |