Home
last modified time | relevance | path

Searched refs:scheds (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c97 struct drm_gpu_scheduler **scheds = NULL, *sched = NULL; in amdgpu_ctx_init_entity() local
114 scheds = adev->gpu_sched[hw_ip][hw_prio].sched; in amdgpu_ctx_init_entity()
122 sched = drm_sched_pick_best(scheds, num_scheds); in amdgpu_ctx_init_entity()
123 scheds = &sched; in amdgpu_ctx_init_entity()
127 r = drm_sched_entity_init(&entity->entity, priority, scheds, num_scheds, in amdgpu_ctx_init_entity()
497 struct drm_gpu_scheduler **scheds = NULL; in amdgpu_ctx_set_entity_priority() local
508 scheds = adev->gpu_sched[hw_ip][hw_prio].sched; in amdgpu_ctx_set_entity_priority()
510 drm_sched_entity_modify_sched(&aentity->entity, scheds, in amdgpu_ctx_set_entity_priority()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c206 struct drm_gpu_scheduler **scheds = NULL, *sched = NULL; in amdgpu_ctx_init_entity() local
229 scheds = adev->gpu_sched[hw_ip][hw_prio].sched; in amdgpu_ctx_init_entity()
236 &num_scheds, &scheds); in amdgpu_ctx_init_entity()
246 sched = drm_sched_pick_best(scheds, num_scheds); in amdgpu_ctx_init_entity()
247 scheds = &sched; in amdgpu_ctx_init_entity()
251 r = drm_sched_entity_init(&entity->entity, drm_prio, scheds, num_scheds, in amdgpu_ctx_init_entity()
811 struct drm_gpu_scheduler **scheds = NULL; in amdgpu_ctx_set_entity_priority() local
822 scheds = adev->gpu_sched[hw_ip][hw_prio].sched; in amdgpu_ctx_set_entity_priority()
824 drm_sched_entity_modify_sched(&aentity->entity, scheds, in amdgpu_ctx_set_entity_priority()
H A Damdgpu_xcp.h118 unsigned int *num_scheds, struct drm_gpu_scheduler ***scheds);
H A Daqua_vanjaram.c175 struct drm_gpu_scheduler ***scheds) in aqua_vanjaram_select_scheds()
198 *scheds = adev->xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].sched; in aqua_vanjaram_select_scheds()
169 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) aqua_vanjaram_select_scheds() argument
H A Dvcn_v4_0.c1646 struct drm_gpu_scheduler **scheds; in vcn_v4_0_limit_sched() local
1656 scheds = p->adev->gpu_sched[AMDGPU_HW_IP_VCN_ENC] in vcn_v4_0_limit_sched()
1658 drm_sched_entity_modify_sched(job->base.entity, scheds, 1); in vcn_v4_0_limit_sched()
H A Dvcn_v3_0.c1767 struct drm_gpu_scheduler **scheds; in vcn_v3_0_limit_sched() local
1777 scheds = p->adev->gpu_sched[AMDGPU_HW_IP_VCN_DEC] in vcn_v3_0_limit_sched()
1779 drm_sched_entity_modify_sched(job->base.entity, scheds, 1); in vcn_v3_0_limit_sched()

Completed in 9 milliseconds