Skip to content

Commit

Permalink
Revert "drm/amd/display: add -msse2 to prevent Clang from emitting li…
Browse files Browse the repository at this point in the history
…bcalls to undefined SW FP routines"

This reverts commit 1011745.

Causes a crash.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109487
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 4.19
  • Loading branch information
alexdeucher committed Jan 29, 2019
1 parent cdba61d commit 193392e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/calcs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ else ifneq ($(call cc-option, -mstack-alignment=16),)
cc_stack_align := -mstack-alignment=16
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_calc_auto.o := $(calcs_ccflags)
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/dml/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ else ifneq ($(call cc-option, -mstack-alignment=16),)
cc_stack_align := -mstack-alignment=16
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_pipe_clocks.o := $(dml_ccflags)
Expand Down

0 comments on commit 193392e

Please sign in to comment.