Home
last modified time | relevance | path

Searched refs:mqd_obj (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ring.c543 r = amdgpu_bo_reserve(ring->mqd_obj, false); in amdgpu_debugfs_mqd_read()
547 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&mqd); in amdgpu_debugfs_mqd_read()
558 amdgpu_bo_kunmap(ring->mqd_obj); in amdgpu_debugfs_mqd_read()
559 amdgpu_bo_unreserve(ring->mqd_obj); in amdgpu_debugfs_mqd_read()
580 amdgpu_bo_unreserve(ring->mqd_obj); in amdgpu_debugfs_mqd_read()
618 if (ring->mqd_obj) { in amdgpu_debugfs_ring_init()
A Damdgpu_gfx.c400 if (!adev->enable_mes_kiq && !ring->mqd_obj) { in amdgpu_gfx_mqd_sw_init()
409 &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init()
430 if (!ring->mqd_obj) { in amdgpu_gfx_mqd_sw_init()
432 domain, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init()
454 if (!ring->mqd_obj) { in amdgpu_gfx_mqd_sw_init()
456 domain, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init()
486 amdgpu_bo_free_kernel(&ring->mqd_obj, in amdgpu_gfx_mqd_sw_fini()
496 amdgpu_bo_free_kernel(&ring->mqd_obj, in amdgpu_gfx_mqd_sw_fini()
503 amdgpu_bo_free_kernel(&ring->mqd_obj, in amdgpu_gfx_mqd_sw_fini()
A Damdgpu_mes.c266 amdgpu_bo_free_kernel(&q->mqd_obj, in amdgpu_mes_queue_free_mqd()
560 &q->mqd_obj, in amdgpu_mes_queue_alloc_mqd()
568 r = amdgpu_bo_reserve(q->mqd_obj, false); in amdgpu_mes_queue_alloc_mqd()
575 amdgpu_bo_free_kernel(&q->mqd_obj, in amdgpu_mes_queue_alloc_mqd()
614 amdgpu_bo_unreserve(q->mqd_obj); in amdgpu_mes_queue_init_mqd()
860 queue_input.mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in amdgpu_mes_map_legacy_queue()
908 queue_input.mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in amdgpu_mes_reset_legacy_queue()
A Dgfx_v12_0.c2966 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v12_0_cp_async_gfx_ring_resume()
2969 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v12_0_cp_async_gfx_ring_resume()
3311 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v12_0_kiq_resume()
3316 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v12_0_kiq_resume()
3318 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v12_0_kiq_resume()
3340 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v12_0_kcq_resume()
3343 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v12_0_kcq_resume()
5193 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v12_0_reset_kgq()
5196 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v12_0_reset_kgq()
5241 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v12_0_reset_kcq()
[all …]
A Dgfx_v11_0.c4030 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v11_0_cp_async_gfx_ring_resume()
4033 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v11_0_cp_async_gfx_ring_resume()
4366 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v11_0_kiq_resume()
4371 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v11_0_kiq_resume()
4373 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v11_0_kiq_resume()
4395 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v11_0_kcq_resume()
4398 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v11_0_kcq_resume()
6569 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v11_0_reset_kgq()
6572 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v11_0_reset_kgq()
6625 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v11_0_reset_kcq()
[all …]
A Dgfx_v9_4_3.c198 uint64_t mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in gfx_v9_4_3_kiq_map_queues()
2192 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_4_3_xcc_kiq_resume()
2198 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_4_3_xcc_kiq_resume()
2203 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_4_3_xcc_kiq_resume()
2205 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_4_3_xcc_kiq_resume()
2219 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_4_3_xcc_kcq_resume()
2225 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_4_3_xcc_kcq_resume()
2228 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_4_3_xcc_kcq_resume()
3619 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_4_3_reset_kcq()
3627 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_4_3_reset_kcq()
[all …]
A Dmes_v12_0.c1306 if (ring->mqd_obj) in mes_v12_0_mqd_sw_init()
1310 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in mes_v12_0_mqd_sw_init()
1379 amdgpu_bo_free_kernel(&adev->mes.ring[pipe].mqd_obj, in mes_v12_0_sw_fini()
1387 amdgpu_bo_free_kernel(&adev->gfx.kiq[0].ring.mqd_obj, in mes_v12_0_sw_fini()
A Dmes_v11_0.c1313 if (ring->mqd_obj) in mes_v11_0_mqd_sw_init()
1318 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in mes_v11_0_mqd_sw_init()
1394 amdgpu_bo_free_kernel(&adev->gfx.kiq[0].ring.mqd_obj, in mes_v11_0_sw_fini()
1398 amdgpu_bo_free_kernel(&adev->mes.ring[0].mqd_obj, in mes_v11_0_sw_fini()
A Damdgpu_mes.h185 struct amdgpu_bo *mqd_obj; member
A Dgfx_v10_0.c6754 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_cp_async_gfx_ring_resume()
6757 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v10_0_cp_async_gfx_ring_resume()
7075 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v10_0_kiq_resume()
7080 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_kiq_resume()
7082 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v10_0_kiq_resume()
7102 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_kcq_resume()
7105 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v10_0_kcq_resume()
9476 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_reset_kgq()
9479 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v10_0_reset_kgq()
9546 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_reset_kcq()
[all …]
A Dgfx_v9_0.c927 uint64_t mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in gfx_v9_0_kiq_map_queues()
3850 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_0_kiq_resume()
3856 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_0_kiq_resume()
3861 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_0_kiq_resume()
3863 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_0_kiq_resume()
3877 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_0_kcq_resume()
3883 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_0_kcq_resume()
3886 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_0_kcq_resume()
7286 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_0_reset_kcq()
7294 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_0_reset_kcq()
[all …]
A Dgfx_v8_0.c4349 uint64_t mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in gfx_v8_0_kiq_kcq_enable()
4677 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v8_0_kiq_resume()
4681 r = amdgpu_bo_kmap(ring->mqd_obj, &ring->mqd_ptr); in gfx_v8_0_kiq_resume()
4683 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v8_0_kiq_resume()
4688 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v8_0_kiq_resume()
4690 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v8_0_kiq_resume()
4704 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v8_0_kcq_resume()
4707 r = amdgpu_bo_kmap(ring->mqd_obj, &ring->mqd_ptr); in gfx_v8_0_kcq_resume()
4710 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v8_0_kcq_resume()
4713 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v8_0_kcq_resume()
A Damdgpu_ring.h267 struct amdgpu_bo *mqd_obj; member
A Dgfx_v7_0.c2715 amdgpu_bo_free_kernel(&ring->mqd_obj, NULL, NULL); in gfx_v7_0_cp_compute_fini()
2967 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in gfx_v7_0_compute_queue_init()
2984 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v7_0_compute_queue_init()
2985 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v7_0_compute_queue_init()
/linux/drivers/gpu/drm/radeon/
A Dcik.c4344 if (rdev->ring[idx].mqd_obj) { in cik_cp_compute_fini()
4345 r = radeon_bo_reserve(rdev->ring[idx].mqd_obj, false); in cik_cp_compute_fini()
4349 radeon_bo_unpin(rdev->ring[idx].mqd_obj); in cik_cp_compute_fini()
4350 radeon_bo_unreserve(rdev->ring[idx].mqd_obj); in cik_cp_compute_fini()
4352 radeon_bo_unref(&rdev->ring[idx].mqd_obj); in cik_cp_compute_fini()
4353 rdev->ring[idx].mqd_obj = NULL; in cik_cp_compute_fini()
4563 if (rdev->ring[idx].mqd_obj == NULL) { in cik_cp_compute_resume()
4568 NULL, &rdev->ring[idx].mqd_obj); in cik_cp_compute_resume()
4575 r = radeon_bo_reserve(rdev->ring[idx].mqd_obj, false); in cik_cp_compute_resume()
4733 radeon_bo_kunmap(rdev->ring[idx].mqd_obj); in cik_cp_compute_resume()
[all …]
A Dradeon.h819 struct radeon_bo *mqd_obj; member

Completed in 118 milliseconds