aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorLi Zetao <[email protected]>2024-08-30 01:22:14 +0000
committerAlex Deucher <[email protected]>2024-09-06 21:38:53 +0000
commit6fbbb660b1d423a777d7567b7475a6a01aa7fd91 (patch)
tree25499fa818d56af3a64010ec3b9035d76e29773f /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/amdgpu: enable gfxoff quirk on HP 705G4 (diff)
downloadkernel-6fbbb660b1d423a777d7567b7475a6a01aa7fd91.tar.gz
kernel-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 <[email protected]> Signed-off-by: Li Zetao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions