diff options
| author | Mario Limonciello <[email protected]> | 2023-09-30 03:14:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-10-04 22:39:52 +0000 |
| commit | b8e6aec14691b44e6a26d25052a2f4fa8c5f7b28 (patch) | |
| tree | 66ff7951e300071fc8dbceba98e5c47e6e3af734 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | |
| parent | drm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments (diff) | |
| download | kernel-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
