/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process_queue_manager.c | 570 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 …]
|
D | kfd_mqd_manager_v11.c | 397 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()
|
D | kfd_mqd_manager_cik.c | 417 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()
|
D | kfd_mqd_manager_v10.c | 431 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()
|
D | kfd_mqd_manager_v9.c | 496 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()
|
D | kfd_mqd_manager_vi.c | 475 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()
|
D | kfd_mqd_manager.c | 77 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()
|
D | kfd_mqd_manager.h | 125 uint32_t mqd_size; member
|
D | kfd_device_queue_manager.h | 188 const struct queue *q, u32 *mqd_size,
|
D | kfd_priv.h | 1127 uint32_t mqd_size; member 1239 u32 *mqd_size,
|
D | kfd_device_queue_manager.c | 2078 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/ |
D | amdgpu_gfx.c | 364 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()
|
D | sdma_v6_0.c | 184 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()
|
D | mes_v10_1.c | 973 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()
|
D | amdgpu_mes.c | 583 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()
|
D | mes_v11_0.c | 1050 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()
|
D | sdma_v5_0.c | 366 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()
|
D | amdgpu_gfx.h | 389 unsigned mqd_size);
|
D | gfx_v11_0.c | 5178 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()
|
D | gfx_v10_0.c | 8349 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()
|
D | amdgpu.h | 748 unsigned mqd_size; member
|
D | sdma_v5_2.c | 874 adev->mqds[AMDGPU_HW_IP_DMA].mqd_size = sizeof(struct v10_sdma_mqd); in sdma_v5_2_set_mqd_funcs()
|