aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-09-30 03:14:17 +0000
committerAlex Deucher <[email protected]>2023-10-04 22:39:52 +0000
commitb8e6aec14691b44e6a26d25052a2f4fa8c5f7b28 (patch)
tree66ff7951e300071fc8dbceba98e5c47e6e3af734 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
parentdrm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments (diff)
downloadkernel-b8e6aec14691b44e6a26d25052a2f4fa8c5f7b28.tar.gz
kernel-b8e6aec14691b44e6a26d25052a2f4fa8c5f7b28.zip
drm/amd: Drop all hand-built MIN and MAX macros in the amdgpu base driver
Several files declare MIN() or MAX() macros that ignore the types of the values being compared. Drop these macros and switch to min() min_t(), and max() from `linux/minmax.h`. Suggested-by: Hamza Mahfooz <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions