summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-02-15 10:11:10 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-02-15 10:11:10 +0000
commitfe44188b45a8ceb073e8249ca34a471bb43e1279 (patch)
treef8b20cf825e7f74cdb7b6a5462d4b91c04e0fa2b /sys/dev
parent42a043162eeca13feb2c64420144b3ab077ff8ef (diff)
drm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptes
From Friedrich Vock a2e60fee4b7681bb9664f6a638d9630102ac978b in linux-6.1.y/6.1.12 e53448e0a1efa5133c7db78f1df1f4caf177676b in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_vm_pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_vm_pt.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_vm_pt.c
index 8fcedd051ac..432bf2662a9 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_vm_pt.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_vm_pt.c
@@ -974,7 +974,7 @@ int amdgpu_vm_ptes_update(struct amdgpu_vm_update_params *params,
trace_amdgpu_vm_update_ptes(params, frag_start, upd_end,
min(nptes, 32u), dst, incr,
upd_flags,
- vm->task_info.pid,
+ vm->task_info.tgid,
vm->immediate.fence_context);
amdgpu_vm_pte_update_flags(params, to_amdgpu_bo_vm(pt),
cursor.level, pe_start, dst,