Searched refs:shared_resources (Results 1 – 7 of 7) sorted by relevance
73 roundup(kfd->shared_resources.doorbell_start_offset, in kfd_doorbell_init()77 rounddown(kfd->shared_resources.doorbell_aperture_size, in kfd_doorbell_init()91 kfd->doorbell_base = kfd->shared_resources.doorbell_physical_address + in kfd_doorbell_init()116 kfd->shared_resources.doorbell_aperture_size); in kfd_doorbell_init()246 uint64_t num_of_elems = (kfd->shared_resources.doorbell_aperture_size - in kfd_get_number_elems()247 kfd->shared_resources.doorbell_start_offset) / in kfd_get_number_elems()
331 pdd->dev->shared_resources.gpuvm_size - 1; in kfd_init_apertures_vi()338 pdd->dev->shared_resources.gpuvm_size); in kfd_init_apertures_vi()358 pdd->dev->shared_resources.gpuvm_size - 1; in kfd_init_apertures_v9()
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.queue_bitmap)) in is_pipe_enabled()90 return bitmap_weight(dqm->dev->shared_resources.queue_bitmap, in get_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()139 q->doorbell_id = dev->shared_resources.sdma_doorbell in allocate_doorbell()888 dqm->dev->shared_resources.queue_bitmap)) in initialize_nocpsch()1004 res.vmid_mask = dqm->dev->shared_resources.compute_vmid_bitmap; in set_sched_resources()[all …]
608 if ((dev->shared_resources.reserved_doorbell_mask & i) == in init_doorbell_bitmap()609 dev->shared_resources.reserved_doorbell_val) { in init_doorbell_bitmap()
243 struct kgd2kfd_shared_resources shared_resources; member
422 kfd->shared_resources = *gpu_resources; in kgd2kfd_device_init()
1231 gpu->shared_resources.drm_render_minor; in kfd_topology_add_device()