mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm/legacy-dpm
Mario Limonciello b8e6aec146 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 <Hamza.Mahfooz@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-10-04 18:39:52 -04:00
..
cik_dpm.h
kv_dpm.c drivers/amd/pm: Clean up errors in smu8_smumgr.h 2023-08-09 09:42:40 -04:00
kv_dpm.h
kv_smc.c
legacy_dpm.c drm/amd/pm: Replace all non-returning strlcpy with strscpy 2023-05-26 13:52:19 -07:00
legacy_dpm.h
Makefile
ppsmc.h
r600_dpm.h drm/amd/pm: Clean up errors in r600_dpm.h 2023-08-09 09:42:42 -04:00
si_dpm.c drm/amd: Drop all hand-built MIN and MAX macros in the amdgpu base driver 2023-10-04 18:39:52 -04:00
si_dpm.h
si_smc.c
sislands_smc.h drm/amd/pm: Clean up errors in sislands_smc.h 2023-08-09 09:42:44 -04:00