kiq 169 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c if (adev->gfx.kiq.ring.sched.ready) kiq 171 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c adev->gfx.kiq.ring.me - 1, kiq 172 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c adev->gfx.kiq.ring.pipe, kiq 173 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c adev->gfx.kiq.ring.queue), kiq 808 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c struct amdgpu_ring *ring = &adev->gfx.kiq.ring; kiq 810 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c spin_lock(&adev->gfx.kiq.ring_lock); kiq 818 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c spin_unlock(&adev->gfx.kiq.ring_lock); kiq 833 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c struct amdgpu_ring *ring = &adev->gfx.kiq.ring; kiq 647 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c struct amdgpu_ring *ring = &adev->gfx.kiq.ring; kiq 649 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c spin_lock(&adev->gfx.kiq.ring_lock); kiq 659 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c spin_unlock(&adev->gfx.kiq.ring_lock); kiq 674 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c struct amdgpu_ring *ring = &adev->gfx.kiq.ring; kiq 42 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h uint32_t kiq; kiq 295 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 298 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c spin_lock_init(&kiq->ring_lock); kiq 307 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c ring->doorbell_index = adev->doorbell_index.kiq; kiq 313 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c ring->eop_gpu_addr = kiq->eop_gpu_addr; kiq 332 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 334 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_bo_free_kernel(&kiq->eop_obj, &kiq->eop_gpu_addr, NULL); kiq 342 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 345 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c AMDGPU_GEM_DOMAIN_GTT, &kiq->eop_obj, kiq 346 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c &kiq->eop_gpu_addr, (void **)&hpd); kiq 354 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c r = amdgpu_bo_reserve(kiq->eop_obj, true); kiq 357 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_bo_kunmap(kiq->eop_obj); kiq 358 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_bo_unreserve(kiq->eop_obj); kiq 371 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c ring = &adev->gfx.kiq.ring; kiq 458 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c ring = &adev->gfx.kiq.ring; kiq 469 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 470 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c struct amdgpu_ring *kiq_ring = &kiq->ring; kiq 473 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) kiq 476 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * kiq 481 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c kiq->pmf->kiq_unmap_queues(kiq_ring, &adev->gfx.compute_ring[i], kiq 489 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 490 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c struct amdgpu_ring *kiq_ring = &adev->gfx.kiq.ring; kiq 494 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if (!kiq->pmf || !kiq->pmf->kiq_map_queues || !kiq->pmf->kiq_set_resources) kiq 515 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * kiq 517 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c kiq->pmf->set_resources_size); kiq 523 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); kiq 525 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.compute_ring[i]); kiq 264 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h struct amdgpu_kiq kiq; kiq 53 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 54 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_ring *ring = &kiq->ring; kiq 58 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c spin_lock_irqsave(&kiq->ring_lock, flags); kiq 63 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c spin_unlock_irqrestore(&kiq->ring_lock, flags); kiq 99 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 100 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_ring *ring = &kiq->ring; kiq 104 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c spin_lock_irqsave(&kiq->ring_lock, flags); kiq 109 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c spin_unlock_irqrestore(&kiq->ring_lock, flags); kiq 144 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 145 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_ring *ring = &kiq->ring; kiq 150 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c spin_lock_irqsave(&kiq->ring_lock, flags); kiq 156 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c spin_unlock_irqrestore(&kiq->ring_lock, flags); kiq 358 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->gfx.kiq.pmf = &gfx_v10_0_kiq_pm4_funcs; kiq 1306 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c struct amdgpu_kiq *kiq; kiq 1333 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c &adev->gfx.kiq.irq); kiq 1417 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c kiq = &adev->gfx.kiq; kiq 1418 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c r = amdgpu_gfx_kiq_init_ring(adev, &kiq->ring, &kiq->irq); kiq 1472 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c amdgpu_gfx_kiq_free_ring(&adev->gfx.kiq.ring, &adev->gfx.kiq.irq); kiq 2929 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->gfx.kiq.ring.sched.ready = false; kiq 3195 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 3196 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c struct amdgpu_ring *kiq_ring = &adev->gfx.kiq.ring; kiq 3199 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (!kiq->pmf || !kiq->pmf->kiq_map_queues) kiq 3202 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * kiq 3210 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.gfx_ring[i]); kiq 3467 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c (adev->doorbell_index.kiq * 2) << 2); kiq 3572 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ring = &adev->gfx.kiq.ring; kiq 3827 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 3828 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c struct amdgpu_ring *kiq_ring = &kiq->ring; kiq 3831 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) kiq 3834 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * kiq 3839 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c kiq->pmf->kiq_unmap_queues(kiq_ring, &adev->gfx.gfx_ring[i], kiq 4684 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c struct amdgpu_kiq *kiq = &adev->gfx.kiq; kiq 4685 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c struct amdgpu_ring *kiq_ring = &kiq->ring; kiq 4687 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) kiq 4690 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) kiq 4697 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP, kiq 5120 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c struct amdgpu_ring *ring = &(adev->gfx.kiq.ring); kiq 5164 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c struct amdgpu_ring *ring = &(adev->gfx.kiq.ring); kiq 5315 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->gfx.kiq.ring.funcs = &gfx_v10_0_ring_funcs_kiq; kiq 5349 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->gfx.kiq.irq.num_types = AMDGPU_CP_KIQ_IRQ_LAST; kiq 5350 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->gfx.kiq.irq.funcs = &gfx_v10_0_kiq_irq_funcs; kiq 1955 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c struct amdgpu_kiq *kiq; kiq 2076 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c kiq = &adev->gfx.kiq; kiq 2077 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c r = amdgpu_gfx_kiq_init_ring(adev, &kiq->ring, &kiq->irq); kiq 2106 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c amdgpu_gfx_kiq_free_ring(&adev->gfx.kiq.ring, &adev->gfx.kiq.irq); kiq 4355 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->gfx.kiq.ring.sched.ready = false; kiq 4377 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c struct amdgpu_ring *kiq_ring = &adev->gfx.kiq.ring; kiq 4710 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmCP_MEC_DOORBELL_RANGE_LOWER, adev->doorbell_index.kiq << 2); kiq 4722 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ring = &adev->gfx.kiq.ring; kiq 4785 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ring = &adev->gfx.kiq.ring; kiq 4856 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c struct amdgpu_ring *kiq_ring = &adev->gfx.kiq.ring; kiq 7036 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->gfx.kiq.ring.funcs = &gfx_v8_0_ring_funcs_kiq; kiq 2195 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c struct amdgpu_kiq *kiq; kiq 2307 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c kiq = &adev->gfx.kiq; kiq 2308 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c r = amdgpu_gfx_kiq_init_ring(adev, &kiq->ring, &kiq->irq); kiq 2356 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c amdgpu_gfx_kiq_free_ring(&adev->gfx.kiq.ring, &adev->gfx.kiq.irq); kiq 3280 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->gfx.kiq.ring.sched.ready = false; kiq 3344 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c struct amdgpu_ring *kiq_ring = &adev->gfx.kiq.ring; kiq 3627 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c (adev->doorbell_index.kiq * 2) << 2); kiq 3775 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ring = &adev->gfx.kiq.ring; kiq 3915 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c struct amdgpu_ring *kiq_ring = &adev->gfx.kiq.ring; kiq 3969 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c soc15_grbm_select(adev, adev->gfx.kiq.ring.me, kiq 3970 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->gfx.kiq.ring.pipe, kiq 3971 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->gfx.kiq.ring.queue, 0); kiq 3972 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c gfx_v9_0_kiq_fini_register(&adev->gfx.kiq.ring); kiq 6315 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->gfx.kiq.ring.funcs = &gfx_v9_0_ring_funcs_kiq; kiq 501 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->gfx.kiq.ring.sched.ready && kiq 537 drivers/gpu/drm/amd/amdgpu/nv.c adev->doorbell_index.kiq = AMDGPU_NAVI10_DOORBELL_KIQ; kiq 61 drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c adev->doorbell_index.kiq = AMDGPU_DOORBELL64_KIQ; kiq 61 drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c adev->doorbell_index.kiq = AMDGPU_VEGA20_DOORBELL_KIQ; kiq 1805 drivers/gpu/drm/amd/amdgpu/vi.c adev->doorbell_index.kiq = AMDGPU_DOORBELL_KIQ;