Home
last modified time | relevance | path

Searched refs:mqd_size (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_process_queue_manager.c570 uint32_t *mqd_size, in get_queue_data_sizes() argument
577 mqd_size, in get_queue_data_sizes()
604 uint32_t mqd_size, ctl_stack_size; in kfd_process_get_queue_info() local
608 ret = get_queue_data_sizes(pdd, q, &mqd_size, &ctl_stack_size); in kfd_process_get_queue_info()
612 extra_data_sizes += mqd_size + ctl_stack_size; in kfd_process_get_queue_info()
655 ctl_stack = mqd + q_data->mqd_size; in criu_checkpoint_queue()
707 uint32_t mqd_size; in criu_checkpoint_queues_device() local
719 ret = get_queue_data_sizes(pdd, q, &mqd_size, &ctl_stack_size); in criu_checkpoint_queues_device()
723 q_data_size = sizeof(*q_data) + mqd_size + ctl_stack_size; in criu_checkpoint_queues_device()
740 q_data->mqd_size = mqd_size; in criu_checkpoint_queues_device()
[all …]
Dkfd_mqd_manager_v11.c397 mqd->mqd_size = sizeof(struct v11_compute_mqd); in mqd_manager_init_v11()
413 mqd->mqd_size = sizeof(struct v11_compute_mqd); in mqd_manager_init_v11()
428 mqd->mqd_size = sizeof(struct v11_compute_mqd); in mqd_manager_init_v11()
442 mqd->mqd_size = sizeof(struct v11_sdma_mqd); in mqd_manager_init_v11()
Dkfd_mqd_manager_cik.c417 mqd->mqd_size = sizeof(struct cik_mqd); in mqd_manager_init_cik()
430 mqd->mqd_size = sizeof(struct cik_mqd); in mqd_manager_init_cik()
444 mqd->mqd_size = sizeof(struct cik_mqd); in mqd_manager_init_cik()
459 mqd->mqd_size = sizeof(struct cik_sdma_rlc_registers); in mqd_manager_init_cik()
Dkfd_mqd_manager_v10.c431 mqd->mqd_size = sizeof(struct v10_compute_mqd); in mqd_manager_init_v10()
449 mqd->mqd_size = sizeof(struct v10_compute_mqd); in mqd_manager_init_v10()
464 mqd->mqd_size = sizeof(struct v10_compute_mqd); in mqd_manager_init_v10()
480 mqd->mqd_size = sizeof(struct v10_sdma_mqd); in mqd_manager_init_v10()
Dkfd_mqd_manager_v9.c496 mqd->mqd_size = sizeof(struct v9_mqd); in mqd_manager_init_v9()
509 mqd->mqd_size = sizeof(struct v9_mqd); in mqd_manager_init_v9()
523 mqd->mqd_size = sizeof(struct v9_mqd); in mqd_manager_init_v9()
538 mqd->mqd_size = sizeof(struct v9_sdma_mqd); in mqd_manager_init_v9()
Dkfd_mqd_manager_vi.c475 mqd->mqd_size = sizeof(struct vi_mqd); in mqd_manager_init_vi()
488 mqd->mqd_size = sizeof(struct vi_mqd); in mqd_manager_init_vi()
502 mqd->mqd_size = sizeof(struct vi_mqd); in mqd_manager_init_vi()
517 mqd->mqd_size = sizeof(struct vi_sdma_mqd); in mqd_manager_init_vi()
Dkfd_mqd_manager.c77 dev->dqm->mqd_mgrs[KFD_MQD_TYPE_SDMA]->mqd_size; in allocate_sdma_mqd()
79 offset += dev->dqm->mqd_mgrs[KFD_MQD_TYPE_HIQ]->mqd_size; in allocate_sdma_mqd()
Dkfd_mqd_manager.h125 uint32_t mqd_size; member
Dkfd_device_queue_manager.h188 const struct queue *q, u32 *mqd_size,
Dkfd_priv.h1127 uint32_t mqd_size; member
1239 u32 *mqd_size,
Dkfd_device_queue_manager.c2078 u32 *mqd_size, in get_queue_checkpoint_info() argument
2087 *mqd_size = mqd_mgr->mqd_size; in get_queue_checkpoint_info()
2247 uint32_t size = dqm->mqd_mgrs[KFD_MQD_TYPE_SDMA]->mqd_size * in allocate_hiq_sdma_mqd()
2250 dqm->mqd_mgrs[KFD_MQD_TYPE_HIQ]->mqd_size; in allocate_hiq_sdma_mqd()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c364 unsigned mqd_size) in amdgpu_gfx_mqd_sw_init() argument
377 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in amdgpu_gfx_mqd_sw_init()
386 adev->gfx.mec.mqd_backup[AMDGPU_MAX_COMPUTE_RINGS] = kmalloc(mqd_size, GFP_KERNEL); in amdgpu_gfx_mqd_sw_init()
396 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in amdgpu_gfx_mqd_sw_init()
405 adev->gfx.me.mqd_backup[i] = kmalloc(mqd_size, GFP_KERNEL); in amdgpu_gfx_mqd_sw_init()
416 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in amdgpu_gfx_mqd_sw_init()
425 adev->gfx.mec.mqd_backup[i] = kmalloc(mqd_size, GFP_KERNEL); in amdgpu_gfx_mqd_sw_init()
Dsdma_v6_0.c184 uint32_t mqd_size = adev->mqds[AMDGPU_HW_IP_DMA].mqd_size; in sdma_v6_0_ring_set_wptr() local
189 wptr_saved = (uint32_t *)(ring->mqd_ptr + mqd_size); in sdma_v6_0_ring_set_wptr()
190 is_queue_unmap = (uint32_t *)(ring->mqd_ptr + mqd_size + in sdma_v6_0_ring_set_wptr()
876 adev->mqds[AMDGPU_HW_IP_DMA].mqd_size = sizeof(struct v11_sdma_mqd); in sdma_v6_0_set_mqd_funcs()
Dmes_v10_1.c973 int r, mqd_size = sizeof(struct v10_compute_mqd); in mes_v10_1_mqd_sw_init() local
986 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in mes_v10_1_mqd_sw_init()
993 memset(ring->mqd_ptr, 0, mqd_size); in mes_v10_1_mqd_sw_init()
996 adev->mes.mqd_backup[pipe] = kmalloc(mqd_size, GFP_KERNEL); in mes_v10_1_mqd_sw_init()
Damdgpu_mes.c583 u32 mqd_size = mqd_mgr->mqd_size; in amdgpu_mes_queue_alloc_mqd() local
586 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in amdgpu_mes_queue_alloc_mqd()
594 memset(q->mqd_cpu_ptr, 0, mqd_size); in amdgpu_mes_queue_alloc_mqd()
Dmes_v11_0.c1050 int r, mqd_size = sizeof(struct v11_compute_mqd); in mes_v11_0_mqd_sw_init() local
1063 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in mes_v11_0_mqd_sw_init()
1071 memset(ring->mqd_ptr, 0, mqd_size); in mes_v11_0_mqd_sw_init()
1074 adev->mes.mqd_backup[pipe] = kmalloc(mqd_size, GFP_KERNEL); in mes_v11_0_mqd_sw_init()
Dsdma_v5_0.c366 uint32_t mqd_size = adev->mqds[AMDGPU_HW_IP_DMA].mqd_size; in sdma_v5_0_ring_set_wptr() local
370 wptr_saved = (uint32_t *)(ring->mqd_ptr + mqd_size); in sdma_v5_0_ring_set_wptr()
371 is_queue_unmap = (uint32_t *)(ring->mqd_ptr + mqd_size + in sdma_v5_0_ring_set_wptr()
1003 adev->mqds[AMDGPU_HW_IP_DMA].mqd_size = sizeof(struct v10_sdma_mqd); in sdma_v5_0_set_mqd_funcs()
Damdgpu_gfx.h389 unsigned mqd_size);
Dgfx_v11_0.c5178 uint32_t mqd_size = adev->mqds[AMDGPU_HW_IP_GFX].mqd_size; in gfx_v11_0_ring_set_wptr_gfx() local
5182 wptr_saved = (uint32_t *)(ring->mqd_ptr + mqd_size); in gfx_v11_0_ring_set_wptr_gfx()
5183 is_queue_unmap = (uint32_t *)(ring->mqd_ptr + mqd_size + in gfx_v11_0_ring_set_wptr_gfx()
5241 uint32_t mqd_size = adev->mqds[AMDGPU_HW_IP_COMPUTE].mqd_size; in gfx_v11_0_ring_set_wptr_compute() local
5245 wptr_saved = (uint32_t *)(ring->mqd_ptr + mqd_size); in gfx_v11_0_ring_set_wptr_compute()
5246 is_queue_unmap = (uint32_t *)(ring->mqd_ptr + mqd_size + in gfx_v11_0_ring_set_wptr_compute()
6261 adev->mqds[AMDGPU_HW_IP_GFX].mqd_size = in gfx_v11_0_set_mqd_funcs()
6266 adev->mqds[AMDGPU_HW_IP_COMPUTE].mqd_size = in gfx_v11_0_set_mqd_funcs()
Dgfx_v10_0.c8349 uint32_t mqd_size = adev->mqds[AMDGPU_HW_IP_GFX].mqd_size; in gfx_v10_0_ring_set_wptr_gfx() local
8353 wptr_saved = (uint32_t *)(ring->mqd_ptr + mqd_size); in gfx_v10_0_ring_set_wptr_gfx()
8354 is_queue_unmap = (uint32_t *)(ring->mqd_ptr + mqd_size + in gfx_v10_0_ring_set_wptr_gfx()
8412 uint32_t mqd_size = adev->mqds[AMDGPU_HW_IP_COMPUTE].mqd_size; in gfx_v10_0_ring_set_wptr_compute() local
8416 wptr_saved = (uint32_t *)(ring->mqd_ptr + mqd_size); in gfx_v10_0_ring_set_wptr_compute()
8417 is_queue_unmap = (uint32_t *)(ring->mqd_ptr + mqd_size + in gfx_v10_0_ring_set_wptr_compute()
9543 adev->mqds[AMDGPU_HW_IP_GFX].mqd_size = in gfx_v10_0_set_mqd_funcs()
9548 adev->mqds[AMDGPU_HW_IP_COMPUTE].mqd_size = in gfx_v10_0_set_mqd_funcs()
Damdgpu.h748 unsigned mqd_size; member
Dsdma_v5_2.c874 adev->mqds[AMDGPU_HW_IP_DMA].mqd_size = sizeof(struct v10_sdma_mqd); in sdma_v5_2_set_mqd_funcs()