Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c73 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()
Dkfd_flat_memory.c331 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()
Dkfd_device_queue_manager.c75 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 …]
Dkfd_process.c702 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()
Dkfd_priv.h248 struct kgd2kfd_shared_resources shared_resources; member
Dkfd_device.c604 kfd->shared_resources = *gpu_resources; in kgd2kfd_device_init()
Dkfd_topology.c1284 gpu->shared_resources.drm_render_minor; in kfd_topology_add_device()