Home
last modified time | relevance | path

Searched refs:mqd_ptr (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dmes_v12_0.c1012 struct v12_compute_mqd *mqd = ring->mqd_ptr; in mes_v12_0_mqd_init()
1121 struct v12_compute_mqd *mqd = ring->mqd_ptr; in mes_v12_0_queue_init_register()
1322 &ring->mqd_gpu_addr, &ring->mqd_ptr); in mes_v12_0_mqd_sw_init()
1328 memset(ring->mqd_ptr, 0, mqd_size); in mes_v12_0_mqd_sw_init()
1392 &adev->mes.ring[pipe].mqd_ptr); in mes_v12_0_sw_fini()
1400 &adev->gfx.kiq[0].ring.mqd_ptr); in mes_v12_0_sw_fini()
H A Dmes_v11_0.c1083 struct v11_compute_mqd *mqd = ring->mqd_ptr; in mes_v11_0_mqd_init()
1187 struct v11_compute_mqd *mqd = ring->mqd_ptr; in mes_v11_0_queue_init_register()
1369 &ring->mqd_gpu_addr, &ring->mqd_ptr); in mes_v11_0_mqd_sw_init()
1375 memset(ring->mqd_ptr, 0, mqd_size); in mes_v11_0_mqd_sw_init()
1446 &adev->gfx.kiq[0].ring.mqd_ptr); in mes_v11_0_sw_fini()
1450 &adev->mes.ring[0].mqd_ptr); in mes_v11_0_sw_fini()
H A Dgfx_v12_0.c2944 struct v12_gfx_mqd *mqd = ring->mqd_ptr; in gfx_v12_0_kgq_init_queue()
2981 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v12_0_cp_async_gfx_ring_resume()
2985 ring->mqd_ptr = NULL; in gfx_v12_0_cp_async_gfx_ring_resume()
3140 struct v12_compute_mqd *mqd = ring->mqd_ptr; in gfx_v12_0_kiq_init_register()
3250 struct v12_compute_mqd *mqd = ring->mqd_ptr; in gfx_v12_0_kiq_init_queue()
3290 struct v12_compute_mqd *mqd = ring->mqd_ptr; in gfx_v12_0_kcq_init_queue()
3327 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v12_0_kiq_resume()
3335 ring->mqd_ptr = NULL; in gfx_v12_0_kiq_resume()
3355 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v12_0_kcq_resume()
3359 ring->mqd_ptr = NULL; in gfx_v12_0_kcq_resume()
[all …]
H A Damdgpu_gfx.c401 &ring->mqd_ptr); in amdgpu_gfx_mqd_sw_init()
423 &ring->mqd_gpu_addr, &ring->mqd_ptr); in amdgpu_gfx_mqd_sw_init()
447 &ring->mqd_gpu_addr, &ring->mqd_ptr); in amdgpu_gfx_mqd_sw_init()
478 &ring->mqd_ptr); in amdgpu_gfx_mqd_sw_fini()
488 &ring->mqd_ptr); in amdgpu_gfx_mqd_sw_fini()
495 &ring->mqd_ptr); in amdgpu_gfx_mqd_sw_fini()
H A Dgfx_v11_0.c4045 struct v11_gfx_mqd *mqd = ring->mqd_ptr; in gfx_v11_0_kgq_init_queue()
4082 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v11_0_cp_async_gfx_ring_resume()
4086 ring->mqd_ptr = NULL; in gfx_v11_0_cp_async_gfx_ring_resume()
4233 struct v11_compute_mqd *mqd = ring->mqd_ptr; in gfx_v11_0_kiq_init_register()
4343 struct v11_compute_mqd *mqd = ring->mqd_ptr; in gfx_v11_0_kiq_init_queue()
4382 struct v11_compute_mqd *mqd = ring->mqd_ptr; in gfx_v11_0_kcq_init_queue()
4419 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v11_0_kiq_resume()
4427 ring->mqd_ptr = NULL; in gfx_v11_0_kiq_resume()
4447 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v11_0_kcq_resume()
4451 ring->mqd_ptr = NULL; in gfx_v11_0_kcq_resume()
[all …]
H A Damdgpu_ring.h269 void *mqd_ptr; member
H A Damdgpu_ring.c721 return mqd_mgr->init_mqd(adev, ring->mqd_ptr, &prop); in amdgpu_ring_init_mqd()
H A Dgfx_v9_0.c3512 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_mqd_init()
3644 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_kiq_init_register()
3797 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_kiq_init_queue()
3845 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_kcq_init_queue()
3891 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v9_0_kiq_resume()
3899 ring->mqd_ptr = NULL; in gfx_v9_0_kiq_resume()
3917 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v9_0_kcq_resume()
3921 ring->mqd_ptr = NULL; in gfx_v9_0_kcq_resume()
7325 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v9_0_reset_kcq()
7329 ring->mqd_ptr = NULL; in gfx_v9_0_reset_kcq()
H A Dgfx_v10_0.c6721 struct v10_gfx_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kgq_init_queue()
6774 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v10_0_cp_async_gfx_ring_resume()
6778 ring->mqd_ptr = NULL; in gfx_v10_0_cp_async_gfx_ring_resume()
6911 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kiq_init_register()
7020 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kiq_init_queue()
7059 struct v10_compute_mqd *mqd = ring->mqd_ptr; in gfx_v10_0_kcq_init_queue()
7096 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v10_0_kiq_resume()
7104 ring->mqd_ptr = NULL; in gfx_v10_0_kiq_resume()
7122 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v10_0_kcq_resume()
7126 ring->mqd_ptr = NULL; in gfx_v10_0_kcq_resume()
[all …]
H A Dsdma_v7_0.c215 wptr_saved = (uint32_t *)(ring->mqd_ptr + mqd_size); in sdma_v7_0_ring_set_wptr()
216 is_queue_unmap = (uint32_t *)(ring->mqd_ptr + mqd_size + in sdma_v7_0_ring_set_wptr()
H A Dgfx_v8_0.c4410 struct vi_mqd *mqd = ring->mqd_ptr; in gfx_v8_0_mqd_init()
4594 struct vi_mqd *mqd = ring->mqd_ptr; in gfx_v8_0_kiq_init_queue()
4634 struct vi_mqd *mqd = ring->mqd_ptr; in gfx_v8_0_kcq_init_queue()
4681 r = amdgpu_bo_kmap(ring->mqd_obj, &ring->mqd_ptr); in gfx_v8_0_kiq_resume()
4689 ring->mqd_ptr = NULL; in gfx_v8_0_kiq_resume()
4707 r = amdgpu_bo_kmap(ring->mqd_obj, &ring->mqd_ptr); in gfx_v8_0_kcq_resume()
4711 ring->mqd_ptr = NULL; in gfx_v8_0_kcq_resume()
H A Dsdma_v5_0.c379 wptr_saved = (uint32_t *)(ring->mqd_ptr + mqd_size); in sdma_v5_0_ring_set_wptr()
380 is_queue_unmap = (uint32_t *)(ring->mqd_ptr + mqd_size + in sdma_v5_0_ring_set_wptr()
H A Damdgpu_mes.c702 queue->ring->mqd_ptr = queue->mqd_cpu_ptr; in amdgpu_mes_add_hw_queue()