Searched refs:shared_resources (Results 1 – 10 of 10) sorted by relevance
52 if (!kfd->shared_resources.enable_mes) in kfd_doorbell_process_slice()72 if (kfd->shared_resources.enable_mes) { in kfd_doorbell_init()74 kfd->shared_resources.doorbell_physical_address; in kfd_doorbell_init()85 roundup(kfd->shared_resources.doorbell_start_offset, in kfd_doorbell_init()89 rounddown(kfd->shared_resources.doorbell_aperture_size, in kfd_doorbell_init()103 kfd->doorbell_base = kfd->shared_resources.doorbell_physical_address + in kfd_doorbell_init()128 kfd->shared_resources.doorbell_aperture_size); in kfd_doorbell_init()256 if (!kfd->shared_resources.enable_mes) in kfd_get_doorbell_dw_offset_in_bar()270 uint64_t num_of_elems = (kfd->shared_resources.doorbell_aperture_size - in kfd_get_number_elems()271 kfd->shared_resources.doorbell_start_offset) / in kfd_get_number_elems()[all …]
77 int pipe_offset = (mec * dqm->dev->shared_resources.num_pipe_per_mec in is_pipe_enabled()78 + pipe) * dqm->dev->shared_resources.num_queue_per_pipe; in is_pipe_enabled()81 for (i = 0; i < dqm->dev->shared_resources.num_queue_per_pipe; ++i) in is_pipe_enabled()83 dqm->dev->shared_resources.cp_queue_bitmap)) in is_pipe_enabled()90 return bitmap_weight(dqm->dev->shared_resources.cp_queue_bitmap, in get_cp_queues_num()96 return dqm->dev->shared_resources.num_queue_per_pipe; in get_queues_per_pipe()101 return dqm->dev->shared_resources.num_pipe_per_mec; in get_pipes_per_mec()352 uint32_t *idx_offset = dev->shared_resources.sdma_doorbell_idx; in allocate_doorbell()840 if (!dqm->dev->shared_resources.enable_mes) in update_queue()898 if (!dqm->dev->shared_resources.enable_mes) in update_queue()[all …]
332 pdd->dev->shared_resources.gpuvm_size - 1; in kfd_init_apertures_vi()339 pdd->dev->shared_resources.gpuvm_size); in kfd_init_apertures_vi()359 pdd->dev->shared_resources.gpuvm_size - 1; in kfd_init_apertures_v9()
94 if (kfd->shared_resources.enable_mes) in allocate_mqd()116 if (mm->dev->shared_resources.enable_mes) in init_mqd()
202 if (dev->shared_resources.enable_mes) { in init_user_queue()221 if (dev->shared_resources.enable_mes) in init_user_queue()442 if (dev->shared_resources.enable_mes) { in pqm_destroy_queue()
1045 if (pdd->dev->shared_resources.enable_mes) in kfd_process_destroy_pdds()1450 int range_start = dev->shared_resources.non_cp_doorbells_start; in init_doorbell_bitmap()1451 int range_end = dev->shared_resources.non_cp_doorbells_end; in init_doorbell_bitmap()1523 if (dev->shared_resources.enable_mes) { in kfd_create_process_device_data()
275 struct kgd2kfd_shared_resources shared_resources; member
526 kfd->shared_resources = *gpu_resources; in kgd2kfd_device_init()
1703 gpu->shared_resources.drm_render_minor; in kfd_topology_add_device()
339 if (dev->shared_resources.enable_mes && in kfd_ioctl_create_queue()