search for: lizetao1

Displaying 1 result from an estimated 1 matches for "lizetao1".

2024 Aug 30
1
[PATCH -next 2/3] drm/amdgpu: use clamp() in amdgpu_vm_adjust_size()
Am 30.08.24 um 03:22 schrieb Li Zetao: > When it needs to get a value within a certain interval, using clamp() > makes the code easier to understand than min(max()). > > Signed-off-by: Li Zetao <lizetao1 at huawei.com> This patch and #1 is a nice cleanup and Reviewed-by: Christian K?nig <christian.koenig at amd.com> But as Alex also pointed out patch #3 is for Nouveau and not amdgpu. Regards, Christian. > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +- > 1 file chang...