Home
last modified time | relevance | path

Searched refs:shared_resources (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c52 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 …]
Dkfd_device_queue_manager.c77 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 …]
Dkfd_flat_memory.c332 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()
Dkfd_mqd_manager_v11.c94 if (kfd->shared_resources.enable_mes) in allocate_mqd()
116 if (mm->dev->shared_resources.enable_mes) in init_mqd()
Dkfd_process_queue_manager.c202 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()
Dkfd_process.c1045 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()
Dkfd_priv.h275 struct kgd2kfd_shared_resources shared_resources; member
Dkfd_device.c526 kfd->shared_resources = *gpu_resources; in kgd2kfd_device_init()
Dkfd_topology.c1703 gpu->shared_resources.drm_render_minor; in kfd_topology_add_device()
Dkfd_chardev.c339 if (dev->shared_resources.enable_mes && in kfd_ioctl_create_queue()