Searched refs:shared_resources (Results 1 – 11 of 11) sorted by relevance
81 int pipe_offset = (mec * dqm->dev->kfd->shared_resources.num_pipe_per_mec in is_pipe_enabled()82 + pipe) * dqm->dev->kfd->shared_resources.num_queue_per_pipe; in is_pipe_enabled()85 for (i = 0; i < dqm->dev->kfd->shared_resources.num_queue_per_pipe; ++i) in is_pipe_enabled()87 dqm->dev->kfd->shared_resources.cp_queue_bitmap)) in is_pipe_enabled()94 return bitmap_weight(dqm->dev->kfd->shared_resources.cp_queue_bitmap, in get_cp_queues_num()100 return dqm->dev->kfd->shared_resources.num_queue_per_pipe; in get_queues_per_pipe()105 return dqm->dev->kfd->shared_resources.num_pipe_per_mec; in get_pipes_per_mec()367 uint32_t *idx_offset = dev->kfd->shared_resources.sdma_doorbell_idx; in allocate_doorbell()871 if (!dqm->dev->kfd->shared_resources.enable_mes) in update_queue()929 if (!dqm->dev->kfd->shared_resources.enable_mes) in update_queue()[all …]
331 pdd->dev->kfd->shared_resources.gpuvm_size - 1; in kfd_init_apertures_vi()350 pdd->dev->kfd->shared_resources.gpuvm_size - 1; in kfd_init_apertures_v9()359 pdd->qpd.cwsr_base = pdd->dev->kfd->shared_resources.gpuvm_size; in kfd_init_apertures_v9()
52 if (!kfd->shared_resources.enable_mes) in kfd_doorbell_process_slice()209 int range_start = dev->shared_resources.non_cp_doorbells_start; in init_doorbell_bitmap()210 int range_end = dev->shared_resources.non_cp_doorbells_end; in init_doorbell_bitmap()
419 if (!pdd->dev->kfd->shared_resources.enable_mes) { in kfd_dbg_trap_clear_dev_address_watch()431 if (!pdd->dev->kfd->shared_resources.enable_mes) in kfd_dbg_trap_clear_dev_address_watch()453 if (!pdd->dev->kfd->shared_resources.enable_mes) { in kfd_dbg_trap_set_dev_address_watch()473 if (!pdd->dev->kfd->shared_resources.enable_mes) in kfd_dbg_trap_set_dev_address_watch()515 if (!pdd->dev->kfd->shared_resources.enable_mes) in kfd_dbg_trap_set_flags()538 if (!pdd->dev->kfd->shared_resources.enable_mes) in kfd_dbg_trap_set_flags()600 if (!pdd->dev->kfd->shared_resources.enable_mes) in kfd_dbg_trap_deactivate()716 if (!pdd->dev->kfd->shared_resources.enable_mes) in kfd_dbg_trap_activate()850 if (!pdd->dev->kfd->shared_resources.enable_mes) in kfd_dbg_trap_set_wave_launch_override()882 if (!pdd->dev->kfd->shared_resources.enable_mes) in kfd_dbg_trap_set_wave_launch_mode()
112 if (node->kfd->shared_resources.enable_mes) in allocate_mqd()135 if (mm->dev->kfd->shared_resources.enable_mes) in init_mqd()404 if (mm->dev->kfd->shared_resources.enable_mes) in init_mqd_sdma()555 if (dev->kfd->shared_resources.enable_mes) { in mqd_manager_init_v11()
126 if (KFD_GC_VERSION(dev) != IP_VERSION(9, 4, 3) && !dev->kfd->shared_resources.enable_mes) { in pqm_set_gws()179 !pqn->q->device->kfd->shared_resources.enable_mes) in pqm_uninit()215 if (dev->kfd->shared_resources.enable_mes) { in init_user_queue()465 !dev->kfd->shared_resources.enable_mes) in pqm_destroy_queue()472 if (dev->kfd->shared_resources.enable_mes) { in pqm_destroy_queue()
1040 if (pdd->dev->kfd->shared_resources.enable_mes) in kfd_process_destroy_pdds()1589 if (dev->kfd->shared_resources.enable_mes) { in kfd_create_process_device_data()
347 if (dev->kfd->shared_resources.enable_mes && in kfd_ioctl_create_queue()2768 if (pdd->dev->kfd->shared_resources.enable_mes) in runtime_enable()2860 if (!pdd->dev->kfd->shared_resources.enable_mes) in runtime_disable()
323 struct kgd2kfd_shared_resources shared_resources; member
643 kfd->shared_resources = *gpu_resources; in kgd2kfd_device_init()
1997 gpu->kfd->shared_resources.drm_render_minor; in kfd_topology_add_device()