Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c42 unsigned long vm_size; in exynos_drm_fb_mmap() local
47 vm_size = vma->vm_end - vma->vm_start; in exynos_drm_fb_mmap()
49 if (vm_size > exynos_gem->size) in exynos_drm_fb_mmap()
Dexynos_drm_gem.c255 unsigned long vm_size; in exynos_drm_gem_mmap_buffer() local
261 vm_size = vma->vm_end - vma->vm_start; in exynos_drm_gem_mmap_buffer()
264 if (vm_size > exynos_gem->size) in exynos_drm_gem_mmap_buffer()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c721 uint64_t vm_size; in amdgpu_info_ioctl() local
753 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_info_ioctl()
754 vm_size -= AMDGPU_VA_RESERVED_SIZE; in amdgpu_info_ioctl()
759 vm_size = min(vm_size, 1ULL << 40); in amdgpu_info_ioctl()
763 min(vm_size, AMDGPU_GMC_HOLE_START); in amdgpu_info_ioctl()
765 if (vm_size > AMDGPU_GMC_HOLE_START) { in amdgpu_info_ioctl()
767 dev_info.high_va_max = AMDGPU_GMC_HOLE_END | vm_size; in amdgpu_info_ioctl()
Damdgpu_gem.c604 uint64_t vm_size; in amdgpu_gem_va_ioctl() local
625 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_gem_va_ioctl()
626 vm_size -= AMDGPU_VA_RESERVED_SIZE; in amdgpu_gem_va_ioctl()
627 if (args->va_address + args->map_size > vm_size) { in amdgpu_gem_va_ioctl()
630 args->va_address + args->map_size, vm_size); in amdgpu_gem_va_ioctl()
Damdgpu_vm.c2673 static uint32_t amdgpu_vm_get_block_size(uint64_t vm_size) in amdgpu_vm_get_block_size() argument
2676 unsigned bits = ilog2(vm_size) + 18; in amdgpu_vm_get_block_size()
2680 if (vm_size <= 8) in amdgpu_vm_get_block_size()
2701 unsigned int vm_size; in amdgpu_vm_adjust_size() local
2706 vm_size = amdgpu_vm_size; in amdgpu_vm_adjust_size()
2707 if (vm_size > max_size) { in amdgpu_vm_adjust_size()
2710 vm_size = max_size; in amdgpu_vm_adjust_size()
2734 vm_size = roundup_pow_of_two( in amdgpu_vm_adjust_size()
2738 adev->vm_manager.max_pfn = (uint64_t)vm_size << 18; in amdgpu_vm_adjust_size()
2775 vm_size, adev->vm_manager.num_level + 1, in amdgpu_vm_adjust_size()
Damdgpu_drv.c331 MODULE_PARM_DESC(vm_size, "VM address space size in gigabytes (default 64GB)");
332 module_param_named(vm_size, amdgpu_vm_size, int, 0444);
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_drv.c269 MODULE_PARM_DESC(vm_size, "VM address space size in gigabytes (default 4GB)");
270 module_param_named(vm_size, radeon_vm_size, int, 0444);
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h1099 unsigned int vm_size; member
1332 return __vmalloc(kvm_x86_ops.vm_size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_arch_alloc_vm()
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dsvm.c4213 .vm_size = sizeof(struct kvm_svm),
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.c7712 .vm_size = sizeof(struct kvm_vmx),