linux-uconsole/drivers/gpu/drm/amd/display/dc
Nick Desaulniers e8a170ff9a drm/amdgpu: enable -msse2 for GCC 7.1+ users
A final attempt at enabling sse2 for GCC users.

Orininally attempted in:
commit 1011745073 ("drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines")

Reverted due to "reported instability" in:
commit 193392ed9f ("Revert "drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines"")

Re-added just for Clang in:
commit 0f0727d971 ("drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines")

The original report didn't have enough information to know if the GPF
was due to misalignment, but I suspect that it was. (The missing
information was the disassembly of the function at the bottom of the
trace, to see if the instruction pointer pointed to an instruction with
16B alignment memory operand requirements.  The stack trace does show
the stack was only 8B but not 16B aligned though, which makes this a
strong possibility).

Now that the stack misalignment issue has been fixed for users of GCC
7.1+, reattempt adding -msse2. This matches Clang.

It will likely never be safe to enable this for pre-GCC 7.1 AND use a
16B aligned stack in these translation units.

This is only a functional change for GCC 7.1+ users, and should be boot
tested.

Link: https://bugs.freedesktop.org/show_bug.cgi?id=109487
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-30 11:56:20 -04:00
..
basics drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
bios drm/amd/display: Handle Renoir in DC 2019-08-29 15:52:33 -05:00
calcs drm/amdgpu: enable -msse2 for GCC 7.1+ users 2019-10-30 11:56:20 -04:00
clk_mgr drm/amdgpu/display: fix 64 bit divide 2019-09-24 07:34:42 -05:00
core dc.c:use kzalloc without test 2019-10-30 11:56:16 -04:00
dce drm/amd/display: dce11.x /dce12 update formula input 2019-09-17 14:35:41 -05:00
dce80 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dce100 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dce110 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dce112 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dce120 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dcn10 drm/amd/display: Allow inverted gamma 2019-10-30 11:56:15 -04:00
dcn20 drm/amdgpu: enable -msse2 for GCC 7.1+ users 2019-10-30 11:56:20 -04:00
dcn21 drm/amdgpu: enable -msse2 for GCC 7.1+ users 2019-10-30 11:56:20 -04:00
dml drm/amdgpu: enable -msse2 for GCC 7.1+ users 2019-10-30 11:56:20 -04:00
dsc drm/amdgpu: enable -msse2 for GCC 7.1+ users 2019-10-30 11:56:20 -04:00
gpio drm/amd/display: Add stereo mux and dig programming calls for dcn21 2019-09-17 13:55:47 -05:00
inc drm/amd/display: dce11.x /dce12 update formula input 2019-09-17 14:35:41 -05:00
irq drm/amd/display: Add Renoir irq_services (v2) 2019-08-29 15:52:33 -05:00
virtual drm/amd/display: reset hdmi tmds rate and data scramble on pipe reset 2019-08-15 10:52:59 -05:00
dc.h drm/amd/display: add dcn21 core DC changes 2019-08-29 15:52:33 -05:00
dc_bios_types.h drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dc_ddc_types.h drm/amd/display: add i2c over aux failure handling 2019-03-19 15:36:49 -05:00
dc_dp_types.h drm/amd/display: Synchronous DisplayPort Link Training 2019-08-15 10:53:30 -05:00
dc_dsc.h drm/amd/display: update DSC MST DP virtual DPCD peer device enumeration policy 2019-06-22 09:34:13 -05:00
dc_helper.c drm-misc-next for v5.3: 2019-06-14 11:44:24 +02:00
dc_hw_types.h drm/amd/display: Expose OTG_V_TOTAL_MID for HW Diags 2019-08-23 11:43:42 -05:00
dc_link.h drm/amd/display: Synchronous DisplayPort Link Training 2019-08-15 10:53:30 -05:00
dc_stream.h drm/amd/display: Expose audio inst from DC to DM 2019-07-11 14:37:24 -05:00
dc_types.h drm/amd/display: add set and get clock for testing purposes 2019-07-18 14:27:25 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Add DSC support for Navi (v2) 2019-06-22 09:34:07 -05:00
dm_pp_smu.h drm/amd/display: Add pp_smu functions for Renoir 2019-08-29 15:52:33 -05:00
dm_services.h drm/amd/display: refactor dump_clk_registers 2019-07-18 14:18:09 -05:00
dm_services_types.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: build dcn21 blocks 2019-08-29 15:52:33 -05:00
os_types.h drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00