1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/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 drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
kv_dpm.c drivers/amd/pm: Clean up errors in smu8_smumgr.h 2023-08-09 09:42:40 -04:00
kv_dpm.h drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
kv_smc.c drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
legacy_dpm.c drm/amd/pm: Replace all non-returning strlcpy with strscpy 2023-05-26 13:52:19 -07:00
legacy_dpm.h drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
Makefile drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
ppsmc.h drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
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 drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
si_smc.c drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
sislands_smc.h drm/amd/pm: Clean up errors in sislands_smc.h 2023-08-09 09:42:44 -04:00