Searched refs:hw_ip (Results 1 - 7 of 7) sorted by relevance

/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_fdinfo.c67 unsigned int hw_ip; local
114 for (hw_ip = 0; hw_ip < AMDGPU_HW_IP_NUM; ++hw_ip) {
115 if (!usage[hw_ip])
118 drm_printf(p, "drm-engine-%s:\t%lld ns\n", amdgpu_ip_name[hw_ip],
119 ktime_to_ns(usage[hw_ip]));
H A Damdgpu_ctx.c138 static unsigned int amdgpu_ctx_get_hw_prio(struct amdgpu_ctx *ctx, u32 hw_ip) argument
147 switch (hw_ip) {
161 hw_ip = array_index_nospec(hw_ip, AMDGPU_HW_IP_NUM);
162 if (adev->gpu_sched[hw_ip][hw_prio].num_scheds == 0)
203 static int amdgpu_ctx_init_entity(struct amdgpu_ctx *ctx, u32 hw_ip, argument
221 entity->hw_ip = hw_ip;
223 hw_prio = amdgpu_ctx_get_hw_prio(ctx, hw_ip);
226 hw_ip
433 amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, u32 ring, struct drm_sched_entity **entity) argument
804 amdgpu_ctx_set_entity_priority(struct amdgpu_ctx *ctx, struct amdgpu_ctx_entity *aentity, int hw_ip, int32_t priority) argument
964 unsigned int hw_ip, i; local
[all...]
H A Damdgpu_ctx.h39 uint32_t hw_ip; member in struct:amdgpu_ctx_entity
76 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance,
H A Damdgpu_xcp.h117 u32 hw_ip, u32 hw_prio, struct amdgpu_fpriv *fpriv,
H A Damdgpu_ring.c204 u32 hw_ip; local
356 hw_ip = ring->funcs->type;
357 num_sched = &adev->gpu_sched[hw_ip][hw_prio].num_scheds;
358 adev->gpu_sched[hw_ip][hw_prio].sched[(*num_sched)++] =
H A Daqua_vanjaram.c178 u32 hw_ip,
203 if (adev->xcp_mgr->xcp[sel_xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds) {
204 *num_scheds = adev->xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds;
205 *scheds = adev->xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].sched;
176 aqua_vanjaram_select_scheds( struct amdgpu_device *adev, u32 hw_ip, u32 hw_prio, struct amdgpu_fpriv *fpriv, unsigned int *num_scheds, struct drm_gpu_scheduler ***scheds) argument
H A Damdgpu_discovery.c1232 int hw_ip; local
1353 for (hw_ip = 0; hw_ip < MAX_HWIP; hw_ip++) {
1354 if (hw_id_map[hw_ip] == le16_to_cpu(ip->hw_id) &&
1355 hw_id_map[hw_ip] != 0) {
1358 adev->reg_offset[hw_ip][ip->instance_number] =
1369 adev->ip_versions[hw_ip][ip->instance_number] =

Completed in 74 milliseconds