linux/drivers/gpu/drm/amd
Matthias Kaehlcke cc32ad8f55 amdgpu/dc/calcs: Support clang option for stack alignment
calcs uses the compiler option -mpreferred-stack-boundary=4 to configure
a stack alignment of 16 bytes. Clang uses the option -mstack-alignment
instead, which expects as parameter the alignment in bytes, and not a
power of two like -mpreferred-stack-boundary.

Probe for both compiler options and use the correct one, similar to
what is done in arch/x86/Makefile.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-02-19 14:19:51 -05:00
..
acp drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
amdgpu drm/amdgpu: Add place holder for soc15 asic init on emulation 2018-02-19 14:19:49 -05:00
amdkfd drm/amdkfd: Fix potential NULL pointer dereferences 2018-01-10 17:15:09 -06:00
display amdgpu/dc/calcs: Support clang option for stack alignment 2018-02-19 14:19:51 -05:00
include drm/amd/pp: Expose set/get_power_limit for DGPU 2018-02-19 14:19:44 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/pp: Restore power profile mode in auto dpm level on Vega10 2018-02-19 14:19:46 -05:00