Home
last modified time | relevance | path

Searched refs:num_level (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfxhub_v1_0.c253 unsigned int num_level, block_size; in gfxhub_v1_0_setup_vmid_config() local
257 num_level = adev->vm_manager.num_level; in gfxhub_v1_0_setup_vmid_config()
260 num_level -= 1; in gfxhub_v1_0_setup_vmid_config()
268 num_level); in gfxhub_v1_0_setup_vmid_config()
H A Dmmhub_v1_0.c235 unsigned num_level, block_size; in mmhub_v1_0_setup_vmid_config() local
239 num_level = adev->vm_manager.num_level; in mmhub_v1_0_setup_vmid_config()
242 num_level -= 1; in mmhub_v1_0_setup_vmid_config()
250 num_level); in mmhub_v1_0_setup_vmid_config()
H A Dgfxhub_v1_2.c320 unsigned int num_level, block_size; in gfxhub_v1_2_xcc_setup_vmid_config() local
324 num_level = adev->vm_manager.num_level; in gfxhub_v1_2_xcc_setup_vmid_config()
327 num_level -= 1; in gfxhub_v1_2_xcc_setup_vmid_config()
338 num_level); in gfxhub_v1_2_xcc_setup_vmid_config()
H A Dmmhub_v1_8.c332 unsigned int num_level, block_size; in mmhub_v1_8_setup_vmid_config() local
336 num_level = adev->vm_manager.num_level; in mmhub_v1_8_setup_vmid_config()
339 num_level -= 1; in mmhub_v1_8_setup_vmid_config()
352 PAGE_TABLE_DEPTH, num_level); in mmhub_v1_8_setup_vmid_config()
H A Dmmhub_v1_7.c265 unsigned num_level, block_size; in mmhub_v1_7_setup_vmid_config() local
269 num_level = adev->vm_manager.num_level; in mmhub_v1_7_setup_vmid_config()
272 num_level -= 1; in mmhub_v1_7_setup_vmid_config()
280 num_level); in mmhub_v1_7_setup_vmid_config()
H A Dmmhub_v9_4.c298 unsigned int num_level, block_size; in mmhub_v9_4_setup_vmid_config() local
302 num_level = adev->vm_manager.num_level; in mmhub_v9_4_setup_vmid_config()
305 num_level -= 1; in mmhub_v9_4_setup_vmid_config()
316 num_level); in mmhub_v9_4_setup_vmid_config()
H A Damdgpu_vm.c2251 adev->vm_manager.num_level = min_t(unsigned int, max_level, tmp); in amdgpu_vm_adjust_size()
2252 switch (adev->vm_manager.num_level) { in amdgpu_vm_adjust_size()
2270 - 9 * adev->vm_manager.num_level); in amdgpu_vm_adjust_size()
2271 else if (adev->vm_manager.num_level > 1) in amdgpu_vm_adjust_size()
2282 vm_size, adev->vm_manager.num_level + 1, in amdgpu_vm_adjust_size()
H A Dgmc_v9_0.c2055 adev->vm_manager.num_level > 1; in gmc_v9_0_sw_init()
2074 adev->gmc.translate_further = adev->vm_manager.num_level > 1; in gmc_v9_0_sw_init()
2083 adev->gmc.translate_further = adev->vm_manager.num_level > 1; in gmc_v9_0_sw_init()
2094 adev->gmc.translate_further = adev->vm_manager.num_level > 1; in gmc_v9_0_sw_init()
H A Dgfxhub_v3_0_3.c305 adev->vm_manager.num_level); in gfxhub_v3_0_3_setup_vmid_config()
H A Dgfxhub_v2_0.c293 adev->vm_manager.num_level); in gfxhub_v2_0_setup_vmid_config()
H A Damdgpu_vm.h434 uint32_t num_level; member
H A Dgfxhub_v11_5_0.c303 adev->vm_manager.num_level); in gfxhub_v11_5_0_setup_vmid_config()
H A Dmmhub_v3_0_2.c321 adev->vm_manager.num_level); in mmhub_v3_0_2_setup_vmid_config()
H A Dgfxhub_v3_0.c300 adev->vm_manager.num_level); in gfxhub_v3_0_setup_vmid_config()
H A Dgfxhub_v12_0.c308 adev->vm_manager.num_level); in gfxhub_v12_0_setup_vmid_config()
H A Dmmhub_v3_0_1.c316 adev->vm_manager.num_level); in mmhub_v3_0_1_setup_vmid_config()
H A Dmmhub_v3_0.c329 adev->vm_manager.num_level); in mmhub_v3_0_setup_vmid_config()
H A Dmmhub_v2_3.c291 adev->vm_manager.num_level); in mmhub_v2_3_setup_vmid_config()
H A Dmmhub_v2_0.c373 adev->vm_manager.num_level); in mmhub_v2_0_setup_vmid_config()
H A Dmmhub_v3_3.c313 adev->vm_manager.num_level); in mmhub_v3_3_setup_vmid_config()
H A Dmmhub_v4_1_0.c330 adev->vm_manager.num_level); in mmhub_v4_1_0_setup_vmid_config()
H A Dgfxhub_v2_1.c305 adev->vm_manager.num_level); in gfxhub_v2_1_setup_vmid_config()
/linux/drivers/gpu/drm/xe/
H A Dxe_migrate.c190 u32 num_entries = NUM_PT_SLOTS, num_level = vm->pt_root[id]->level; in xe_migrate_prepare_vm() local
192 u32 num_setup = num_level + VRAM_IDENTITY_MAP_COUNT; in xe_migrate_prepare_vm()
279 for (level = 1; level < num_level; level++) { in xe_migrate_prepare_vm()