Searched refs:mqd_obj (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_gfx.c | 372 if (!ring->mqd_obj) { in amdgpu_gfx_mqd_sw_init() 379 AMDGPU_GEM_DOMAIN_VRAM, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init() 396 if (!ring->mqd_obj) { in amdgpu_gfx_mqd_sw_init() 398 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init() 416 if (!ring->mqd_obj) { in amdgpu_gfx_mqd_sw_init() 418 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init() 444 amdgpu_bo_free_kernel(&ring->mqd_obj, in amdgpu_gfx_mqd_sw_fini() 453 amdgpu_bo_free_kernel(&ring->mqd_obj, in amdgpu_gfx_mqd_sw_fini() 462 amdgpu_bo_free_kernel(&ring->mqd_obj, in amdgpu_gfx_mqd_sw_fini()
|
| D | gfx_v10_0.c | 274 uint64_t mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in gfx10_kiq_map_queues() 3188 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v10_0_cp_async_gfx_ring_resume() 3192 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v10_0_cp_async_gfx_ring_resume() 3195 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_cp_async_gfx_ring_resume() 3198 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v10_0_cp_async_gfx_ring_resume() 3532 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v10_0_kiq_resume() 3536 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v10_0_kiq_resume() 3541 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v10_0_kiq_resume() 3543 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v10_0_kiq_resume() 3558 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v10_0_kcq_resume() [all …]
|
| D | amdgpu_ring.h | 199 struct amdgpu_bo *mqd_obj; member
|
| D | gfx_v9_0.c | 3383 uint64_t mqd_addr = amdgpu_bo_gpu_offset(ring->mqd_obj); in gfx_v9_0_kiq_kcq_enable() 3778 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_0_kiq_resume() 3782 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v9_0_kiq_resume() 3787 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_0_kiq_resume() 3789 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_0_kiq_resume() 3804 r = amdgpu_bo_reserve(ring->mqd_obj, false); in gfx_v9_0_kcq_resume() 3807 r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr); in gfx_v9_0_kcq_resume() 3810 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v9_0_kcq_resume() 3813 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v9_0_kcq_resume()
|
| D | gfx_v8_0.c | 4412 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()
|
| D | gfx_v7_0.c | 2791 amdgpu_bo_free_kernel(&ring->mqd_obj, NULL, NULL); in gfx_v7_0_cp_compute_fini() 3081 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in gfx_v7_0_compute_queue_init() 3098 amdgpu_bo_kunmap(ring->mqd_obj); in gfx_v7_0_compute_queue_init() 3099 amdgpu_bo_unreserve(ring->mqd_obj); in gfx_v7_0_compute_queue_init()
|
| /Linux-v5.4/drivers/gpu/drm/radeon/ |
| D | cik.c | 4358 if (rdev->ring[idx].mqd_obj) { in cik_cp_compute_fini() 4359 r = radeon_bo_reserve(rdev->ring[idx].mqd_obj, false); in cik_cp_compute_fini() 4363 radeon_bo_unpin(rdev->ring[idx].mqd_obj); in cik_cp_compute_fini() 4364 radeon_bo_unreserve(rdev->ring[idx].mqd_obj); in cik_cp_compute_fini() 4366 radeon_bo_unref(&rdev->ring[idx].mqd_obj); in cik_cp_compute_fini() 4367 rdev->ring[idx].mqd_obj = NULL; in cik_cp_compute_fini() 4577 if (rdev->ring[idx].mqd_obj == NULL) { in cik_cp_compute_resume() 4582 NULL, &rdev->ring[idx].mqd_obj); in cik_cp_compute_resume() 4589 r = radeon_bo_reserve(rdev->ring[idx].mqd_obj, false); in cik_cp_compute_resume() 4594 r = radeon_bo_pin(rdev->ring[idx].mqd_obj, RADEON_GEM_DOMAIN_GTT, in cik_cp_compute_resume() [all …]
|
| D | radeon.h | 859 struct radeon_bo *mqd_obj; member
|