drm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptes
authorjsg <jsg@openbsd.org>
Wed, 15 Feb 2023 10:11:09 +0000 (10:11 +0000)
committerjsg <jsg@openbsd.org>
Wed, 15 Feb 2023 10:11:09 +0000 (10:11 +0000)
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

index 8fcedd0..432bf26 100644 (file)
@@ -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,