]> Git Repo - J-linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
Merge tag 'sysctl-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof...
[J-linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_gem.c
index d8e683688daab516833dd8d6c423082db4f6b485..863cb668e0005d5694b473ea7b72a906061a1b2b 100644 (file)
@@ -969,7 +969,7 @@ static int amdgpu_debugfs_gem_info_show(struct seq_file *m, void *unused)
                 * Therefore, we need to protect this ->comm access using RCU.
                 */
                rcu_read_lock();
-               task = pid_task(file->pid, PIDTYPE_PID);
+               task = pid_task(file->pid, PIDTYPE_TGID);
                seq_printf(m, "pid %8d command %s:\n", pid_nr(file->pid),
                           task ? task->comm : "<unknown>");
                rcu_read_unlock();
This page took 0.028156 seconds and 4 git commands to generate.