/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device_queue_manager_vi.c | 31 struct qcm_process_device *qpd, 37 struct qcm_process_device *qpd); 40 struct qcm_process_device *qpd); 79 struct qcm_process_device *qpd, in set_cache_memory_policy_vi() argument 96 qpd->sh_mem_config = (qpd->sh_mem_config & in set_cache_memory_policy_vi() 108 struct qcm_process_device *qpd) in register_process_vi() argument 113 BUG_ON(!dqm || !qpd); in register_process_vi() 115 pdd = qpd_to_pdd(qpd); in register_process_vi() 118 if (qpd->sh_mem_config == 0) { in register_process_vi() 119 qpd->sh_mem_config = in register_process_vi() [all …]
|
D | kfd_device_queue_manager_cik.c | 29 struct qcm_process_device *qpd, 35 struct qcm_process_device *qpd); 38 struct qcm_process_device *qpd); 76 struct qcm_process_device *qpd, in set_cache_memory_policy_cik() argument 93 qpd->sh_mem_config = (qpd->sh_mem_config & PTR32) in set_cache_memory_policy_cik() 102 struct qcm_process_device *qpd) in register_process_cik() argument 107 BUG_ON(!dqm || !qpd); in register_process_cik() 109 pdd = qpd_to_pdd(qpd); in register_process_cik() 112 if (qpd->sh_mem_config == 0) { in register_process_cik() 113 qpd->sh_mem_config = in register_process_cik() [all …]
|
D | kfd_device_queue_manager.c | 45 struct qcm_process_device *qpd); 53 struct qcm_process_device *qpd); 84 struct qcm_process_device *qpd) in program_sh_mem_settings() argument 87 dqm->dev->kgd, qpd->vmid, in program_sh_mem_settings() 88 qpd->sh_mem_config, in program_sh_mem_settings() 89 qpd->sh_mem_ape1_base, in program_sh_mem_settings() 90 qpd->sh_mem_ape1_limit, in program_sh_mem_settings() 91 qpd->sh_mem_bases); in program_sh_mem_settings() 95 struct qcm_process_device *qpd, in allocate_vmid() argument 109 qpd->vmid = allocated_vmid; in allocate_vmid() [all …]
|
D | kfd_device_queue_manager.h | 44 struct qcm_process_device *qpd; member 89 struct qcm_process_device *qpd, 93 struct qcm_process_device *qpd, 104 struct qcm_process_device *qpd); 107 struct qcm_process_device *qpd); 115 struct qcm_process_device *qpd); 119 struct qcm_process_device *qpd); 122 struct qcm_process_device *qpd, 131 struct qcm_process_device *qpd); 134 struct qcm_process_device *qpd, [all …]
|
D | kfd_packet_manager.c | 146 struct qcm_process_device *qpd) in pm_create_map_process() argument 152 BUG_ON(!pm || !buffer || !qpd); in pm_create_map_process() 162 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; in pm_create_map_process() 164 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_create_map_process() 165 packet->bitfields3.page_table_base = qpd->page_table_base; in pm_create_map_process() 166 packet->bitfields10.gds_size = qpd->gds_size; in pm_create_map_process() 167 packet->bitfields10.num_gws = qpd->num_gws; in pm_create_map_process() 168 packet->bitfields10.num_oac = qpd->num_oac; in pm_create_map_process() 170 list_for_each_entry(cur, &qpd->queues_list, list) in pm_create_map_process() 172 packet->bitfields10.num_queues = (qpd->is_debug) ? 0 : num_queues; in pm_create_map_process() [all …]
|
D | kfd_process_queue_manager.c | 183 if ((pdd->qpd.is_debug) || in pqm_create_queue() 185 list_for_each_entry(cur, &pdd->qpd.queues_list, list) in pqm_create_queue() 196 pdd->qpd.pqm = pqm; in pqm_create_queue() 197 dev->dqm->ops.register_process(dev->dqm, &pdd->qpd); in pqm_create_queue() 220 retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd, in pqm_create_queue() 241 retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd, in pqm_create_queue() 256 kq, &pdd->qpd); in pqm_create_queue() 286 dev->dqm->ops.unregister_process(dev->dqm, &pdd->qpd); in pqm_create_queue() 327 dqm->ops.destroy_kernel_queue(dqm, pqn->kq, &pdd->qpd); in pqm_destroy_queue() 333 retval = dqm->ops.destroy_queue(dqm, &pdd->qpd, pqn->q); in pqm_destroy_queue() [all …]
|
D | kfd_process.c | 363 INIT_LIST_HEAD(&pdd->qpd.queues_list); in kfd_create_process_device_data() 364 INIT_LIST_HEAD(&pdd->qpd.priv_queue_list); in kfd_create_process_device_data() 365 pdd->qpd.dqm = dev->dqm; in kfd_create_process_device_data()
|
D | kfd_dbgdev.c | 318 &cntl, i, pdd->qpd.vmid); in dbgdev_address_watch_nodiq() 322 pr_debug("\t\t%20s %08x\n", "vmid is :", pdd->qpd.vmid); in dbgdev_address_watch_nodiq() 758 reg_sq_cmd.bits.vm_id = pdd->qpd.vmid; in dbgdev_wave_control_nodiq() 767 pr_debug("\t\t vmid is: %u\n", pdd->qpd.vmid); in dbgdev_wave_control_nodiq()
|
D | kfd_priv.h | 454 struct qcm_process_device qpd; member 473 #define qpd_to_pdd(x) container_of(x, struct kfd_process_device, qpd)
|
D | kfd_chardev.c | 422 &pdd->qpd, in kfd_ioctl_set_memory_policy()
|
/drivers/infiniband/hw/cxgb4/ |
D | device.c | 220 struct c4iw_debugfs_data *qpd = data; in dump_qp() local 227 space = qpd->bufsize - qpd->pos - 1; in dump_qp() 242 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp() 266 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp() 282 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp() 288 qpd->pos += cc; in dump_qp() 294 struct c4iw_debugfs_data *qpd = file->private_data; in qp_release() local 295 if (!qpd) { in qp_release() 299 vfree(qpd->buf); in qp_release() 300 kfree(qpd); in qp_release() [all …]
|