Commit 193392ed authored by Alex Deucher's avatar Alex Deucher

Revert "drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to...

Revert "drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines"

This reverts commit 10117450.

Causes a crash.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109487Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 4.19
parent cdba61da
...@@ -30,7 +30,7 @@ else ifneq ($(call cc-option, -mstack-alignment=16),) ...@@ -30,7 +30,7 @@ else ifneq ($(call cc-option, -mstack-alignment=16),)
cc_stack_align := -mstack-alignment=16 cc_stack_align := -mstack-alignment=16
endif endif
calcs_ccflags := -mhard-float -msse -msse2 $(cc_stack_align) calcs_ccflags := -mhard-float -msse $(cc_stack_align)
CFLAGS_dcn_calcs.o := $(calcs_ccflags) CFLAGS_dcn_calcs.o := $(calcs_ccflags)
CFLAGS_dcn_calc_auto.o := $(calcs_ccflags) CFLAGS_dcn_calc_auto.o := $(calcs_ccflags)
......
...@@ -30,7 +30,7 @@ else ifneq ($(call cc-option, -mstack-alignment=16),) ...@@ -30,7 +30,7 @@ else ifneq ($(call cc-option, -mstack-alignment=16),)
cc_stack_align := -mstack-alignment=16 cc_stack_align := -mstack-alignment=16
endif endif
dml_ccflags := -mhard-float -msse -msse2 $(cc_stack_align) dml_ccflags := -mhard-float -msse $(cc_stack_align)
CFLAGS_display_mode_lib.o := $(dml_ccflags) CFLAGS_display_mode_lib.o := $(dml_ccflags)
CFLAGS_display_pipe_clocks.o := $(dml_ccflags) CFLAGS_display_pipe_clocks.o := $(dml_ccflags)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment