diff options
author | 2024-08-30 09:22:14 +0800 | |
---|---|---|
committer | 2024-09-06 17:38:53 -0400 | |
commit | 6fbbb660b1d423a777d7567b7475a6a01aa7fd91 (patch) | |
tree | 25499fa818d56af3a64010ec3b9035d76e29773f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/amdgpu: enable gfxoff quirk on HP 705G4 (diff) | |
download | wireguard-linux-6fbbb660b1d423a777d7567b7475a6a01aa7fd91.tar.xz wireguard-linux-6fbbb660b1d423a777d7567b7475a6a01aa7fd91.zip |
drm/amd: use clamp() in amdgpu_pll_get_fb_ref_div()
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