Searched refs:mqd_obj (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_gfx.c | 370 if (!ring->mqd_obj) { in amdgpu_gfx_mqd_sw_init() 377 AMDGPU_GEM_DOMAIN_VRAM, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init() 394 if (!ring->mqd_obj) { in amdgpu_gfx_mqd_sw_init() 396 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init() 414 if (!ring->mqd_obj) { in amdgpu_gfx_mqd_sw_init() 416 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init() 442 amdgpu_bo_free_kernel(&ring->mqd_obj, in amdgpu_gfx_mqd_sw_fini() 451 amdgpu_bo_free_kernel(&ring->mqd_obj, in amdgpu_gfx_mqd_sw_fini() 458 amdgpu_bo_free_kernel(&ring->mqd_obj, in amdgpu_gfx_mqd_sw_fini()
|
A D | mes_v10_1.c | 860 if (ring->mqd_obj) in mes_v10_1_mqd_sw_init() 864 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in mes_v10_1_mqd_sw_init() 921 amdgpu_bo_free_kernel(&adev->mes.ring.mqd_obj, in mes_v10_1_sw_fini()
|
A D | amdgpu_ring.h | 231 struct amdgpu_bo *mqd_obj; member
|
A D | gfx_v8_0.c | 4395 uint64_t mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in gfx_v8_0_kiq_kcq_enable() 4724 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v8_0_kiq_resume() 4728 r = amdgpu_bo_kmap(ring->mqd_obj, &ring->mqd_ptr); in gfx_v8_0_kiq_resume() 4733 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v8_0_kiq_resume() 4735 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v8_0_kiq_resume() 4750 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v8_0_kcq_resume() 4753 r = amdgpu_bo_kmap(ring->mqd_obj, &ring->mqd_ptr); in gfx_v8_0_kcq_resume() 4756 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v8_0_kcq_resume() 4759 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v8_0_kcq_resume()
|
A D | gfx_v9_0.c | 853 uint64_t mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in gfx_v9_0_kiq_map_queues() 3876 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_0_kiq_resume() 3880 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v9_0_kiq_resume() 3885 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_0_kiq_resume() 3887 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_0_kiq_resume() 3902 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_0_kcq_resume() 3905 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v9_0_kcq_resume() 3908 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_0_kcq_resume() 3911 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_0_kcq_resume()
|
A D | gfx_v10_0.c | 3608 uint64_t mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in gfx10_kiq_map_queues() 6805 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v10_0_cp_async_gfx_ring_resume() 6812 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_cp_async_gfx_ring_resume() 6815 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v10_0_cp_async_gfx_ring_resume() 7173 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v10_0_kiq_resume() 7177 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v10_0_kiq_resume() 7182 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_kiq_resume() 7184 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v10_0_kiq_resume() 7199 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v10_0_kcq_resume() 7205 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_kcq_resume() [all …]
|
A D | gfx_v7_0.c | 2786 amdgpu_bo_free_kernel(&ring->mqd_obj, NULL, NULL); in gfx_v7_0_cp_compute_fini() 3076 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in gfx_v7_0_compute_queue_init() 3093 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v7_0_compute_queue_init() 3094 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v7_0_compute_queue_init()
|
/linux/drivers/gpu/drm/radeon/ |
A D | cik.c | 4344 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 D | radeon.h | 858 struct radeon_bo *mqd_obj; member
|
Completed in 80 milliseconds