Searched refs:kiq (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.c | 185 struct amdgpu_kiq *kiq = &adev->gfx.kiq; in amdgpu_gfx_kiq_init_ring() local 188 mutex_init(&kiq->ring_mutex); in amdgpu_gfx_kiq_init_ring() 203 ring->eop_gpu_addr = kiq->eop_gpu_addr; in amdgpu_gfx_kiq_init_ring() 222 struct amdgpu_kiq *kiq = &adev->gfx.kiq; in amdgpu_gfx_kiq_fini() local 224 amdgpu_bo_free_kernel(&kiq->eop_obj, &kiq->eop_gpu_addr, NULL); in amdgpu_gfx_kiq_fini() 232 struct amdgpu_kiq *kiq = &adev->gfx.kiq; in amdgpu_gfx_kiq_init() local 235 AMDGPU_GEM_DOMAIN_GTT, &kiq->eop_obj, in amdgpu_gfx_kiq_init() 236 &kiq->eop_gpu_addr, (void **)&hpd); in amdgpu_gfx_kiq_init() 244 r = amdgpu_bo_reserve(kiq->eop_obj, true); in amdgpu_gfx_kiq_init() 247 amdgpu_bo_kunmap(kiq->eop_obj); in amdgpu_gfx_kiq_init() [all …]
|
D | amdgpu_virt.c | 119 struct amdgpu_kiq *kiq = &adev->gfx.kiq; in amdgpu_virt_kiq_rreg() local 120 struct amdgpu_ring *ring = &kiq->ring; in amdgpu_virt_kiq_rreg() 124 mutex_lock(&kiq->ring_mutex); in amdgpu_virt_kiq_rreg() 129 mutex_unlock(&kiq->ring_mutex); in amdgpu_virt_kiq_rreg() 147 struct amdgpu_kiq *kiq = &adev->gfx.kiq; in amdgpu_virt_kiq_wreg() local 148 struct amdgpu_ring *ring = &kiq->ring; in amdgpu_virt_kiq_wreg() 152 mutex_lock(&kiq->ring_mutex); in amdgpu_virt_kiq_wreg() 157 mutex_unlock(&kiq->ring_mutex); in amdgpu_virt_kiq_wreg()
|
D | amdgpu_amdkfd.c | 114 if (adev->gfx.kiq.ring.ready) in amdgpu_amdkfd_device_init() 116 adev->gfx.kiq.ring.me - 1, in amdgpu_amdkfd_device_init() 117 adev->gfx.kiq.ring.pipe, in amdgpu_amdkfd_device_init() 118 adev->gfx.kiq.ring.queue), in amdgpu_amdkfd_device_init()
|
D | gfx_v9_0.c | 1245 struct amdgpu_kiq *kiq; in gfx_v9_0_sw_init() local 1262 r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_GRBM_CP, 178, &adev->gfx.kiq.irq); in gfx_v9_0_sw_init() 1343 kiq = &adev->gfx.kiq; in gfx_v9_0_sw_init() 1344 r = amdgpu_gfx_kiq_init_ring(adev, &kiq->ring, &kiq->irq); in gfx_v9_0_sw_init() 1399 amdgpu_gfx_kiq_free_ring(&adev->gfx.kiq.ring, &adev->gfx.kiq.irq); in gfx_v9_0_sw_fini() 2280 adev->gfx.kiq.ring.ready = false; in gfx_v9_0_cp_compute_enable() 2344 struct amdgpu_ring *kiq_ring = &adev->gfx.kiq.ring; in gfx_v9_0_kiq_kcq_enable() 2745 ring = &adev->gfx.kiq.ring; in gfx_v9_0_kiq_resume() 2817 ring = &adev->gfx.kiq.ring; in gfx_v9_0_cp_resume() 4037 struct amdgpu_ring *ring = &(adev->gfx.kiq.ring); in gfx_v9_0_kiq_set_interrupt_state() [all …]
|
D | gfx_v8_0.c | 1895 struct amdgpu_kiq *kiq; in gfx_v8_0_sw_init() local 1918 r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_LEGACY, 178, &adev->gfx.kiq.irq); in gfx_v8_0_sw_init() 2004 kiq = &adev->gfx.kiq; in gfx_v8_0_sw_init() 2005 r = amdgpu_gfx_kiq_init_ring(adev, &kiq->ring, &kiq->irq); in gfx_v8_0_sw_init() 2057 amdgpu_gfx_kiq_free_ring(&adev->gfx.kiq.ring, &adev->gfx.kiq.irq); in gfx_v8_0_sw_fini() 4396 adev->gfx.kiq.ring.ready = false; in gfx_v8_0_cp_compute_enable() 4464 struct amdgpu_ring *kiq_ring = &adev->gfx.kiq.ring; in gfx_v8_0_kiq_kcq_enable() 4838 ring = &adev->gfx.kiq.ring; in gfx_v8_0_kiq_resume() 4878 ring = &adev->gfx.kiq.ring; in gfx_v8_0_kiq_resume() 6634 struct amdgpu_ring *ring = &(adev->gfx.kiq.ring); in gfx_v8_0_kiq_set_interrupt_state() [all …]
|
D | amdgpu_ctx.c | 56 if (ring == &adev->gfx.kiq.ring) in amdgpu_ctx_init()
|
D | amdgpu.h | 980 struct amdgpu_kiq kiq; member
|