From 4e1f8057850131f69492bad4933eaded36d5d00a Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 15 Feb 2023 10:11:09 +0000 Subject: [PATCH] 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 --- sys/dev/pci/drm/amd/amdgpu/amdgpu_vm_pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1