Home
last modified time | relevance | path

Searched refs:process (Results 1 – 25 of 154) sorted by relevance

1234567

/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c182 mm = get_task_mm(pdd->process->lead_thread); in kfd_sdma_activity_worker()
279 proc = pdd->process; in kfd_get_cu_occupancy()
496 if (!q || !q->process) in kfd_procfs_add_queue()
498 proc = q->process; in kfd_procfs_add_queue()
798 struct kfd_process *process; in kfd_create_process() local
817 process = find_process(thread); in kfd_create_process()
818 if (process) { in kfd_create_process()
821 process = create_process(thread); in kfd_create_process()
822 if (IS_ERR(process)) in kfd_create_process()
825 ret = kfd_process_init_cwsr_apu(process, filep); in kfd_create_process()
[all …]
Dkfd_process_queue_manager.c57 pqm->process->pasid); in find_available_queue_slot()
98 pdd = kfd_get_process_device_data(dev, pqm->process); in pqm_set_gws()
112 ret = amdgpu_amdkfd_add_gws_to_process(pdd->process->kgd_process_info, in pqm_set_gws()
115 ret = amdgpu_amdkfd_remove_gws_from_process(pdd->process->kgd_process_info, in pqm_set_gws()
143 pqm->process = p; in pqm_init()
154 amdgpu_amdkfd_remove_gws_from_process(pqm->process->kgd_process_info, in pqm_uninit()
185 (*q)->process = pqm->process; in init_user_queue()
210 pdd = kfd_get_process_device_data(dev, pqm->process); in pqm_create_queue()
298 pqm->process->pasid, type, retval); in pqm_create_queue()
366 pdd = kfd_get_process_device_data(dev, pqm->process); in pqm_destroy_queue()
[all …]
Dkfd_dbgmgr.c136 if (pmgr->pasid != wac_info->process->pasid) { in kfd_dbgmgr_wave_control()
138 wac_info->process->pasid); in kfd_dbgmgr_wave_control()
149 if (pmgr->pasid != adw_info->process->pasid) { in kfd_dbgmgr_address_watch()
151 adw_info->process->pasid); in kfd_dbgmgr_address_watch()
Dkfd_chardev.c112 struct kfd_process *process; in kfd_open() local
128 process = kfd_create_process(filep); in kfd_open()
129 if (IS_ERR(process)) in kfd_open()
130 return PTR_ERR(process); in kfd_open()
134 "process %d unreferenced", process->pasid); in kfd_open()
135 kfd_unref_process(process); in kfd_open()
140 filep->private_data = process; in kfd_open()
143 process->pasid, process->is_32bit_user_mode); in kfd_open()
150 struct kfd_process *process = filep->private_data; in kfd_release() local
152 if (process) in kfd_release()
[all …]
Dkfd_device_queue_manager_cik.c134 if (qpd->pqm->process->is_32bit_user_mode) { in update_qpd_cik()
145 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in update_qpd_cik()
175 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in update_qpd_cik_hawaii()
185 if (q->process->is_32bit_user_mode) in init_sdma_vm()
Dkfd_flat_memory.c364 int kfd_init_apertures(struct kfd_process *process) in kfd_init_apertures() argument
382 pdd = kfd_create_process_device_data(dev, process); in kfd_init_apertures()
392 if (process->is_32bit_user_mode) { in kfd_init_apertures()
Dkfd_device_queue_manager_vi.c174 if (qpd->pqm->process->is_32bit_user_mode) { in update_qpd_vi()
189 qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); in update_qpd_vi()
233 if (q->process->is_32bit_user_mode) in init_sdma_vm()
Dkfd_priv.h532 struct kfd_process *process; member
566 struct kfd_process *process; member
662 struct kfd_process *process; member
908 int kfd_reserved_mem_mmap(struct kfd_dev *dev, struct kfd_process *process,
931 int kfd_doorbell_mmap(struct kfd_dev *dev, struct kfd_process *process,
986 int kfd_init_apertures(struct kfd_process *process);
1133 int kfd_event_mmap(struct kfd_process *process, struct vm_area_struct *vma);
Dkfd_dbgmgr.h237 struct kfd_process *process; member
246 struct kfd_process *process; member
Dkfd_doorbell.c126 int kfd_doorbell_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_doorbell_mmap() argument
139 pdd = kfd_get_process_device_data(dev, process); in kfd_doorbell_mmap()
Dkfd_device_queue_manager.c258 dqm->vmid_pasid[allocated_vmid] = q->process->pasid; in allocate_vmid()
260 set_pasid_vmid_mapping(dqm, q->process->pasid, allocated_vmid); in allocate_vmid()
393 if (WARN(q->process->mm != current->mm, in create_queue_nocpsch()
525 qpd->pqm->process); in destroy_queue_nocpsch_locked()
577 pdd = kfd_get_process_device_data(q->device, q->process); in update_queue()
649 if (WARN(q->process->mm != current->mm, in update_queue()
677 pdd->process->pasid); in evict_process_queues_nocpsch()
726 pdd->process->pasid); in evict_process_queues_cpsch()
774 pdd->process->pasid); in restore_process_queues_nocpsch()
791 mm = get_task_mm(pdd->process->lead_thread); in restore_process_queues_nocpsch()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgt215.c31 u32 process, u32 message, u32 data0, u32 data1) in gt215_pmu_send() argument
55 pmu->recv.process = process; in gt215_pmu_send()
66 nvkm_wr32(device, 0x10a1c4, process); in gt215_pmu_send()
77 wait_event(pmu->recv.wait, (pmu->recv.process == 0)); in gt215_pmu_send()
91 u32 process, message, data0, data1; in gt215_pmu_recv() local
106 process = nvkm_rd32(device, 0x10a1c4); in gt215_pmu_recv()
116 if (pmu->recv.process) { in gt215_pmu_recv()
117 if (process == pmu->recv.process && in gt215_pmu_recv()
121 pmu->recv.process = 0; in gt215_pmu_recv()
131 (char)((process & 0x000000ff) >> 0), in gt215_pmu_recv()
[all …]
Dbase.c63 u32 process, u32 message, u32 data0, u32 data1) in nvkm_pmu_send() argument
67 return pmu->func->send(pmu, reply, process, message, data0, data1); in nvkm_pmu_send()
/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.c40 in->process.msg1_desc.msg_id = TA_HDCP_HDCP2_MSG_ID__NULL_MESSAGE; in hdcp2_message_init()
41 in->process.msg1_desc.msg_size = 0; in hdcp2_message_init()
42 in->process.msg2_desc.msg_id = TA_HDCP_HDCP2_MSG_ID__NULL_MESSAGE; in hdcp2_message_init()
43 in->process.msg2_desc.msg_size = 0; in hdcp2_message_init()
44 in->process.msg3_desc.msg_id = TA_HDCP_HDCP2_MSG_ID__NULL_MESSAGE; in hdcp2_message_init()
45 in->process.msg3_desc.msg_size = 0; in hdcp2_message_init()
620 msg_in->process.msg1_desc.msg_id = TA_HDCP_HDCP2_MSG_ID__AKE_SEND_CERT; in mod_hdcp_hdcp2_validate_ake_cert()
621 msg_in->process.msg1_desc.msg_size = TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_SEND_CERT; in mod_hdcp_hdcp2_validate_ake_cert()
623 memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.ake_cert, in mod_hdcp_hdcp2_validate_ake_cert()
644 if (msg_out->process.msg1_status == in mod_hdcp_hdcp2_validate_ake_cert()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dkernel.fuc30 process(PROC_KERN, 0, 0)
137 // $r14 - process
140 // read process' timer status, skip if not enabled
145 // subtract last timer's value from process' timer,
156 // process' timer is the soonest
168 // update process' timer status, and advance
317 // request the current process be sent a message after a timeout expires
329 // if current process already has a timer set, bail
377 // send message to another process
380 // $r14 - process
[all …]
Didle.fuc26 process(PROC_IDLE, #idle, #idle_recv)
60 // keep looping while there's pending messages for any process
65 // process the process' messages until there's none left
74 // next process!
Dhost.fuc26 process(PROC_HOST, #host_init, #host_recv)
62 // HOST->PWR comms - dequeue message(s) for process(es) from FIFO
76 // read message data, and pass to appropriate process
94 // $r14 - process
Dperf.fuc26 process(PROC_PERF, #perf_init, #perf_recv)
43 // $r14 - sender process name
Dtest.fuc26 process(PROC_TEST, #test_init, #test_recv)
42 // $r14 - sender process name
/drivers/soc/ux500/
Dux500-soc-id.c32 u8 process; member
119 dbx500_id.process = asicid >> 24; in ux500_setup_id()
152 if (dbx500_id.process == 0x00) in process_show()
155 return sprintf(buf, "%02xnm\n", dbx500_id.process); in process_show()
158 static DEVICE_ATTR_RO(process);
/drivers/connector/
DKconfig16 bool "Report process events to userspace"
20 Provide a connector that reports process events to userspace. Send
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_irq.c812 .process = amdgpu_dm_irq_handler,
817 .process = amdgpu_dm_irq_handler,
822 .process = amdgpu_dm_irq_handler,
827 .process = amdgpu_dm_irq_handler,
832 .process = amdgpu_dm_irq_handler,
837 .process = amdgpu_dm_irq_handler,
842 .process = amdgpu_dm_irq_handler,
/drivers/gpu/drm/radeon/
Dradeon_asic.c219 .process = &r100_irq_process,
287 .process = &r100_irq_process,
383 .process = &r100_irq_process,
451 .process = &r100_irq_process,
519 .process = &r100_irq_process,
587 .process = &r100_irq_process,
655 .process = &rs600_irq_process,
723 .process = &rs600_irq_process,
791 .process = &rs600_irq_process,
859 .process = &rs600_irq_process,
[all …]
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dpmu.h32 u32 process; member
38 int nvkm_pmu_send(struct nvkm_pmu *, u32 reply[2], u32 process,
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c1346 queue->process, queue->remote_notify, queue->remove); in notify_bulks()
1348 queue->remote_notify = queue->process; in notify_bulks()
1485 queue->local_insert, queue->remote_insert, queue->process); in abort_outstanding_bulks()
1487 WARN_ON((int)(queue->local_insert - queue->process) < 0); in abort_outstanding_bulks()
1488 WARN_ON((int)(queue->remote_insert - queue->process) < 0); in abort_outstanding_bulks()
1490 while ((queue->process != queue->local_insert) || in abort_outstanding_bulks()
1491 (queue->process != queue->remote_insert)) { in abort_outstanding_bulks()
1493 &queue->bulks[BULK_INDEX(queue->process)]; in abort_outstanding_bulks()
1495 if (queue->process == queue->remote_insert) { in abort_outstanding_bulks()
1502 if (queue->process != queue->local_insert) { in abort_outstanding_bulks()
[all …]

1234567