linux/drivers/gpu/drm/amd/display/dc/calcs
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
..
bw_fixed.c amdgpu/dc: allow inlining constant int to fixed a lot better. 2017-09-29 13:03:35 -04:00
custom_float.c drm/amd/display: Enable regamma 25 segments and use double buffer. 2017-09-26 17:14:18 -04:00
dce_calcs.c drm/amd/display: Remove extra pairs of parentheses in dce_calcs.c 2018-02-19 14:19:43 -05:00
dcn_calc_auto.c drm/amd/display: fix global sync param retrieval when not pipe splitting 2017-12-20 14:47:11 -05:00
dcn_calc_auto.h drm/amdgpu/display: Add calcs code for DCN 2017-09-26 18:06:47 -04:00
dcn_calc_math.c drm/amd/display: Add disclaimer to BW and DML code provided by HW 2017-12-14 10:55:02 -05:00
dcn_calc_math.h Revert "amdgpu/dc: inline a bunch of float operations." 2017-10-21 16:45:17 -04:00
dcn_calcs.c drm/amd/display: revert to hacking bounding box for pipe split 2018-02-19 14:18:38 -05:00
Makefile amdgpu/dc/calcs: Support clang option for stack alignment 2018-02-19 14:19:51 -05:00