aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorLi Zetao <[email protected]>2024-08-30 01:22:15 +0000
committerAlex Deucher <[email protected]>2024-09-06 21:38:57 +0000
commit760e3c8b3288279841aa8a71e6d65c67a3934d01 (patch)
tree5f91a912fe492bbef47c7142edf03bab52b03629 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdrm/amd: use clamp() in amdgpu_pll_get_fb_ref_div() (diff)
downloadkernel-760e3c8b3288279841aa8a71e6d65c67a3934d01.tar.gz
kernel-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 <[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_irq.c')
0 files changed, 0 insertions, 0 deletions