linux/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Set irq state only on existing crtcs 2018-02-19 14:19:28 -05:00
dc amdgpu/dc/calcs: Support clang option for stack alignment 2018-02-19 14:19:51 -05:00
include drm/amd/display: WBSCL filter init calculation fixes 2018-02-19 14:19:29 -05:00
modules drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
Kconfig
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
TODO drm/amd/display: Add TODO item to remove vector.c 2017-12-14 11:01:13 -05:00