Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.c76 dev->dqm->mqd_mgrs[KFD_MQD_TYPE_SDMA]->mqd_size; in allocate_sdma_mqd()
78 offset += dev->dqm->mqd_mgrs[KFD_MQD_TYPE_HIQ]->mqd_size; in allocate_sdma_mqd()
Dkfd_mqd_manager_cik.c384 mqd->mqd_size = sizeof(struct cik_mqd); in mqd_manager_init_cik()
397 mqd->mqd_size = sizeof(struct cik_mqd); in mqd_manager_init_cik()
410 mqd->mqd_size = sizeof(struct cik_mqd); in mqd_manager_init_cik()
423 mqd->mqd_size = sizeof(struct cik_sdma_rlc_registers); in mqd_manager_init_cik()
Dkfd_mqd_manager_v10.c408 mqd->mqd_size = sizeof(struct v10_compute_mqd); in mqd_manager_init_v10()
424 mqd->mqd_size = sizeof(struct v10_compute_mqd); in mqd_manager_init_v10()
438 mqd->mqd_size = sizeof(struct v10_compute_mqd); in mqd_manager_init_v10()
452 mqd->mqd_size = sizeof(struct v10_sdma_mqd); in mqd_manager_init_v10()
Dkfd_mqd_manager_v9.c463 mqd->mqd_size = sizeof(struct v9_mqd); in mqd_manager_init_v9()
476 mqd->mqd_size = sizeof(struct v9_mqd); in mqd_manager_init_v9()
489 mqd->mqd_size = sizeof(struct v9_mqd); in mqd_manager_init_v9()
502 mqd->mqd_size = sizeof(struct v9_sdma_mqd); in mqd_manager_init_v9()
Dkfd_mqd_manager_vi.c432 mqd->mqd_size = sizeof(struct vi_mqd); in mqd_manager_init_vi()
445 mqd->mqd_size = sizeof(struct vi_mqd); in mqd_manager_init_vi()
458 mqd->mqd_size = sizeof(struct vi_mqd); in mqd_manager_init_vi()
471 mqd->mqd_size = sizeof(struct vi_sdma_mqd); in mqd_manager_init_vi()
Dkfd_mqd_manager.h108 uint32_t mqd_size; member
Dkfd_device_queue_manager.c1832 uint32_t size = dqm->mqd_mgrs[KFD_MQD_TYPE_SDMA]->mqd_size * in allocate_hiq_sdma_mqd()
1835 dqm->mqd_mgrs[KFD_MQD_TYPE_HIQ]->mqd_size; in allocate_hiq_sdma_mqd()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c361 unsigned mqd_size) in amdgpu_gfx_mqd_sw_init() argument
374 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in amdgpu_gfx_mqd_sw_init()
383 adev->gfx.mec.mqd_backup[AMDGPU_MAX_COMPUTE_RINGS] = kmalloc(mqd_size, GFP_KERNEL); in amdgpu_gfx_mqd_sw_init()
393 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in amdgpu_gfx_mqd_sw_init()
402 adev->gfx.me.mqd_backup[i] = kmalloc(mqd_size, GFP_KERNEL); in amdgpu_gfx_mqd_sw_init()
413 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in amdgpu_gfx_mqd_sw_init()
422 adev->gfx.mec.mqd_backup[i] = kmalloc(mqd_size, GFP_KERNEL); in amdgpu_gfx_mqd_sw_init()
Dmes_v10_1.c856 int r, mqd_size = sizeof(struct v10_compute_mqd); in mes_v10_1_mqd_sw_init() local
862 r = amdgpu_bo_create_kernel(adev, mqd_size, PAGE_SIZE, in mes_v10_1_mqd_sw_init()
871 adev->mes.mqd_backup = kmalloc(mqd_size, GFP_KERNEL); in mes_v10_1_mqd_sw_init()
Damdgpu_gfx.h361 unsigned mqd_size);