search for: vm_size

Displaying 2 results from an estimated 2 matches for "vm_size".

Did you mean: v_size
2024 Aug 30
1
[PATCH -next 2/3] drm/amdgpu: use clamp() in amdgpu_vm_adjust_size()
...amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c > index e20d19ae01b2..40f9a5d4f3c0 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c > @@ -2224,7 +2224,7 @@ void amdgpu_vm_adjust_size(struct amdgpu_device *adev, uint32_t min_vm_size, > phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + > (1 << 30) - 1) >> 30; > vm_size = roundup_pow_of_two( > - min(max(phys_ram_gb * 3, min_vm_size), max_size)); > + clamp(phys_ram_gb * 3, min_vm_size, max_size)); > } > > ade...
2018 Jan 26
3
[PATCH v3 0/2] drm/virtio: Add window server support
Hi, this work is based on the virtio_wl driver in the ChromeOS kernel by Zach Reizner, currently at: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-4.4/drivers/virtio/virtio_wl.c There's one feature missing currently, which is letting clients write directly to the host part of a resource, so the extra copy in TRANSFER_TO_HOST isn't needed. Have pushed the