Home
last modified time | relevance | path

Searched refs:hw_ip (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ctx.c144 switch (hw_ip) { in amdgpu_ctx_get_hw_prio()
157 hw_ip = array_index_nospec(hw_ip, AMDGPU_HW_IP_NUM); in amdgpu_ctx_get_hw_prio()
188 hw_ip = array_index_nospec(hw_ip, AMDGPU_HW_IP_NUM); in amdgpu_ctx_init_entity()
193 if (hw_ip == AMDGPU_HW_IP_VCN_ENC || in amdgpu_ctx_init_entity()
194 hw_ip == AMDGPU_HW_IP_VCN_DEC || in amdgpu_ctx_init_entity()
195 hw_ip == AMDGPU_HW_IP_UVD_ENC || in amdgpu_ctx_init_entity()
196 hw_ip == AMDGPU_HW_IP_UVD) { in amdgpu_ctx_init_entity()
207 ctx->entities[hw_ip][ring] = entity; in amdgpu_ctx_init_entity()
283 if (hw_ip >= AMDGPU_HW_IP_NUM) { in amdgpu_ctx_get_entity()
594 int hw_ip, in amdgpu_ctx_set_entity_priority() argument
[all …]
A Damdgpu_ring.c174 u32 hw_ip; in amdgpu_ring_init() local
267 hw_ip = ring->funcs->type; in amdgpu_ring_init()
268 num_sched = &adev->gpu_sched[hw_ip][hw_prio].num_scheds; in amdgpu_ring_init()
269 adev->gpu_sched[hw_ip][hw_prio].sched[(*num_sched)++] = in amdgpu_ring_init()
A Damdgpu_discovery.c335 int hw_ip; in amdgpu_discovery_reg_base_init() local
399 for (hw_ip = 0; hw_ip < MAX_HWIP; hw_ip++) { in amdgpu_discovery_reg_base_init()
400 if (hw_id_map[hw_ip] == le16_to_cpu(ip->hw_id)) { in amdgpu_discovery_reg_base_init()
403 adev->reg_offset[hw_ip][ip->number_instance] = in amdgpu_discovery_reg_base_init()
414 adev->ip_versions[hw_ip][ip->number_instance] = in amdgpu_discovery_reg_base_init()
A Damdgpu_ctx.h70 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance,
/linux/drivers/misc/habanalabs/common/
A Dhabanalabs_ioctl.c46 struct hl_info_hw_ip_info hw_ip = {0}; in hw_ip_info() local
62 hw_ip.dram_base_address = in hw_ip_info()
69 hw_ip.dram_size = in hw_ip_info()
76 if (hw_ip.dram_size > PAGE_SIZE) in hw_ip_info()
77 hw_ip.dram_enabled = 1; in hw_ip_info()
78 hw_ip.dram_page_size = prop->dram_page_size; in hw_ip_info()
79 hw_ip.num_of_events = prop->num_of_events; in hw_ip_info()
90 hw_ip.psoc_pci_pll_nr = prop->psoc_pci_pll_nr; in hw_ip_info()
95 hw_ip.first_available_interrupt_id = in hw_ip_info()
97 hw_ip.server_type = prop->server_type; in hw_ip_info()
[all …]

Completed in 10 milliseconds