diff options
author | 2024-08-30 09:22:15 +0800 | |
---|---|---|
committer | 2024-09-06 17:38:57 -0400 | |
commit | 760e3c8b3288279841aa8a71e6d65c67a3934d01 (patch) | |
tree | 5f91a912fe492bbef47c7142edf03bab52b03629 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/amd: use clamp() in amdgpu_pll_get_fb_ref_div() (diff) | |
download | wireguard-linux-760e3c8b3288279841aa8a71e6d65c67a3934d01.tar.xz wireguard-linux-760e3c8b3288279841aa8a71e6d65c67a3934d01.zip |
drm/amdgpu: use clamp() in amdgpu_vm_adjust_size()
When it needs to get a value within a certain interval, using clamp()
makes the code easier to understand than min(max()).
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions