Lines Matching refs:kiq_ring
511 struct amdgpu_ring *kiq_ring = &kiq->ring; in amdgpu_gfx_disable_kcq() local
529 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in amdgpu_gfx_disable_kcq()
537 kiq->pmf->kiq_unmap_queues(kiq_ring, in amdgpu_gfx_disable_kcq()
553 if (kiq_ring->sched.ready && !adev->job_hang) in amdgpu_gfx_disable_kcq()
554 r = amdgpu_ring_test_helper(kiq_ring); in amdgpu_gfx_disable_kcq()
563 struct amdgpu_ring *kiq_ring = &kiq->ring; in amdgpu_gfx_disable_kgq() local
584 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in amdgpu_gfx_disable_kgq()
592 kiq->pmf->kiq_unmap_queues(kiq_ring, in amdgpu_gfx_disable_kgq()
599 r = amdgpu_ring_test_helper(kiq_ring); in amdgpu_gfx_disable_kgq()
621 struct amdgpu_ring *kiq_ring = &kiq->ring; in amdgpu_gfx_mes_enable_kcq() local
629 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->set_resources_size); in amdgpu_gfx_mes_enable_kcq()
636 kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); in amdgpu_gfx_mes_enable_kcq()
637 r = amdgpu_ring_test_helper(kiq_ring); in amdgpu_gfx_mes_enable_kcq()
659 struct amdgpu_ring *kiq_ring = &kiq->ring; in amdgpu_gfx_enable_kcq() local
686 DRM_INFO("kiq ring mec %d pipe %d q %d\n", kiq_ring->me, kiq_ring->pipe, in amdgpu_gfx_enable_kcq()
687 kiq_ring->queue); in amdgpu_gfx_enable_kcq()
690 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * in amdgpu_gfx_enable_kcq()
699 kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); in amdgpu_gfx_enable_kcq()
702 kiq->pmf->kiq_map_queues(kiq_ring, in amdgpu_gfx_enable_kcq()
706 r = amdgpu_ring_test_helper(kiq_ring); in amdgpu_gfx_enable_kcq()
717 struct amdgpu_ring *kiq_ring = &kiq->ring; in amdgpu_gfx_enable_kgq() local
742 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * in amdgpu_gfx_enable_kgq()
752 kiq->pmf->kiq_map_queues(kiq_ring, in amdgpu_gfx_enable_kgq()
757 r = amdgpu_ring_test_helper(kiq_ring); in amdgpu_gfx_enable_kgq()