/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 1079 * CRIU master process for the target pid for restore. 1395 info->pid = get_task_pid(current->group_leader, PIDTYPE_PID); 1445 put_pid(info->pid); 1574 put_pid(process_info->pid); 2761 usertask = get_pid_task(process_info->pid, PIDTYPE_PID);
|
H A D | amdgpu_debugfs.c | 1789 seq_printf(m, "pid:%d\tProcess:%s ----------\n", ti->pid, ti->process_name);
|
H A D | amdgpu_gem.c | 216 dev_warn(adev->dev, "pid %d\n", ti->pid); 998 struct pid *pid; local 1002 * Although we have a valid reference on file->pid, that does 1008 pid = rcu_dereference(file->pid); 1009 task = pid_task(pid, PIDTYPE_TGID); 1010 seq_printf(m, "pid %8d command %s:\n", pid_nr(pid), [all...] |
H A D | amdgpu_job.c | 67 DRM_ERROR("Process information: process %s pid %d thread %s pid %d\n", 68 ti->process_name, ti->tgid, ti->task_name, ti->pid);
|
H A D | amdgpu_reset.c | 194 if (coredump->reset_task_info.pid) 197 coredump->reset_task_info.pid);
|
H A D | amdgpu_sched.c | 27 #include <linux/pid.h>
|
H A D | amdgpu_trace.h | 331 pid_t pid, uint64_t vm_ctx), 332 TP_ARGS(p, start, end, nptes, dst, incr, flags, pid, vm_ctx), 339 __field(pid_t, pid) 352 __entry->pid = pid; 362 TP_printk("pid:%u vm_ctx:0x%llx start:0x%010llx end:0x%010llx," 363 " flags:0x%llx, incr:%llu, dst:\n%s", __entry->pid,
|
H A D | amdgpu_vm.c | 520 pr_warn_ratelimited("pid %d\n", ti->pid); 2339 if (vm->task_info->pid == current->pid) 2342 vm->task_info->pid = current->pid; 2348 vm->task_info->tgid = current->group_leader->pid;
|
H A D | amdgpu_vm.h | 208 pid_t pid; member in struct:amdgpu_task_info
|
H A D | gmc_v10_0.c | 167 " in process %s pid %d thread %s pid %d\n", 169 task_info->task_name, task_info->pid);
|
H A D | gmc_v11_0.c | 138 " in process %s pid %d thread %s pid %d)\n", 140 task_info->task_name, task_info->pid);
|
H A D | gmc_v8_0.c | 1455 dev_err(adev->dev, " for process %s pid %d thread %s pid %d\n", 1457 task_info->task_name, task_info->pid);
|
H A D | gmc_v9_0.c | 637 " for process %s pid %d thread %s pid %d)\n", 639 task_info->task_name, task_info->pid);
|
H A D | sdma_v4_0.c | 2127 " for process %s pid %d thread %s pid %d\n", 2129 task_info->task_name, task_info->pid);
|
H A D | sdma_v4_4_2.c | 1636 dev_dbg_ratelimited(adev->dev, " for process %s pid %d thread %s pid %d\n", 1638 task_info->task_name, task_info->pid);
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_chardev.c | 143 current->pid); 2629 struct pid *pid = NULL; local 2632 pr_debug("Inside %s, target pid for criu restore: %d\n", __func__, 2633 args->pid); 2635 pid = find_get_pid(args->pid); 2636 if (!pid) { 2637 pr_err("Cannot find pid info for %i\n", args->pid); 2894 struct pid *pid = NULL; local [all...] |
H A D | kfd_device.c | 1082 WARN(debug_evictions, "Evicting pid %d", p->lead_thread->pid); 1150 WARN(debug_evictions, "Scheduling eviction of pid %d in %ld jiffies", 1151 p->lead_thread->pid, delay_jiffies);
|
H A D | kfd_device_queue_manager.c | 2657 WARN(debug_evictions, "Evicting pid %d", p->lead_thread->pid);
|
H A D | kfd_events.c | 1131 p->lead_thread->pid, p->pasid); 1140 p->lead_thread->pid, p->pasid); 1145 p->lead_thread->pid, p->pasid);
|
H A D | kfd_migrate.c | 414 kfd_smi_event_migration_start(node, p->lead_thread->pid, 448 kfd_smi_event_migration_end(node, p->lead_thread->pid, 718 kfd_smi_event_migration_start(node, p->lead_thread->pid, 754 kfd_smi_event_migration_end(node, p->lead_thread->pid,
|
H A D | kfd_priv.h | 1063 struct kfd_process *kfd_lookup_process_by_pid(struct pid *pid);
|
H A D | kfd_process.c | 502 /* Create proc/<pid>/queues/<queue id> folder */ 508 pr_warn("Creating proc/<pid>/queues/%u failed", 545 * - proc/<pid>/stats_<gpuid>/ 546 * - proc/<pid>/stats_<gpuid>/evicted_ms 547 * - proc/<pid>/stats_<gpuid>/cu_occupancy 592 * - proc/<pid>/counters_<gpuid>/ 593 * - proc/<pid>/counters_<gpuid>/faults 594 * - proc/<pid>/counters_<gpuid>/page_in 595 * - proc/<pid>/counters_<gpuid>/page_out 635 * - proc/<pid>/vram 935 kfd_lookup_process_by_pid(struct pid *pid) argument [all...] |
H A D | kfd_smi_events.c | 42 pid_t pid; member in struct:kfd_smi_client 162 static bool kfd_smi_ev_enabled(pid_t pid, struct kfd_smi_client *client, argument 168 if (pid && client->pid != pid && !(client->suser && (events & all))) 174 static void add_event_to_kfifo(pid_t pid, struct kfd_node *dev, argument 182 if (!kfd_smi_ev_enabled(pid, client, smi_event)) 199 static void kfd_smi_event_add(pid_t pid, struct kfd_node *dev, argument 215 add_event_to_kfifo(pid, dev, event, fifo_in, len); 246 if (task_info->pid) 253 kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, unsigned long address, bool write_fault, ktime_t ts) argument 262 kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, unsigned long address, bool migration) argument 270 kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, unsigned long start, unsigned long end, uint32_t from, uint32_t to, uint32_t prefetch_loc, uint32_t preferred_loc, uint32_t trigger) argument 282 kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, unsigned long start, unsigned long end, uint32_t from, uint32_t to, uint32_t trigger) argument 292 kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, uint32_t trigger) argument 300 kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid) argument 327 kfd_smi_event_unmap_from_gpu(struct kfd_node *node, pid_t pid, unsigned long address, unsigned long last, uint32_t trigger) argument [all...] |
H A D | kfd_smi_events.h | 32 void kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, 35 void kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, 37 void kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, 42 void kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, 45 void kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, 47 void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid); 49 void kfd_smi_event_unmap_from_gpu(struct kfd_node *node, pid_t pid,
|
H A D | kfd_svm.c | 1319 kfd_smi_event_unmap_from_gpu(pdd->dev, p->lead_thread->pid, 3023 kfd_smi_event_page_fault_start(node, p->lead_thread->pid, addr, 3065 kfd_smi_event_page_fault_end(node, p->lead_thread->pid, addr,
|