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()
75 int pipe_offset = mec * dqm->dev->shared_resources.num_pipe_per_mec in is_pipe_enabled()76 + pipe * dqm->dev->shared_resources.num_queue_per_pipe; in is_pipe_enabled()79 for (i = 0; i < dqm->dev->shared_resources.num_queue_per_pipe; ++i) in is_pipe_enabled()81 dqm->dev->shared_resources.queue_bitmap)) in is_pipe_enabled()88 return bitmap_weight(dqm->dev->shared_resources.queue_bitmap, in get_queues_num()94 return dqm->dev->shared_resources.num_queue_per_pipe; in get_queues_per_pipe()99 return dqm->dev->shared_resources.num_pipe_per_mec; in get_pipes_per_mec()152 dev->shared_resources.sdma_doorbell_idx; in allocate_doorbell()878 dqm->dev->shared_resources.queue_bitmap)) in initialize_nocpsch()976 res.vmid_mask = dqm->dev->shared_resources.compute_vmid_bitmap; in set_sched_resources()[all …]
702 if (i >= dev->shared_resources.non_cp_doorbells_start in init_doorbell_bitmap()703 && i <= dev->shared_resources.non_cp_doorbells_end) { in init_doorbell_bitmap()
248 struct kgd2kfd_shared_resources shared_resources; member
604 kfd->shared_resources = *gpu_resources; in kgd2kfd_device_init()
1284 gpu->shared_resources.drm_render_minor; in kfd_topology_add_device()