drm/amdgpu/dc: fix DCN3.1 Makefile for PPC64
Port the necessary changes from previous DCN versions. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
c8b73f7fdb
commit
df7a1658f2
1 changed files with 8 additions and 1 deletions
|
@ -13,12 +13,19 @@
|
||||||
DCN31 = dcn31_resource.o dcn31_hubbub.o dcn31_hwseq.o dcn31_init.o dcn31_hubp.o \
|
DCN31 = dcn31_resource.o dcn31_hubbub.o dcn31_hwseq.o dcn31_init.o dcn31_hubp.o \
|
||||||
dcn31_dccg.o dcn31_optc.o dcn31_dio_link_encoder.o dcn31_panel_cntl.o
|
dcn31_dccg.o dcn31_optc.o dcn31_dio_link_encoder.o dcn31_panel_cntl.o
|
||||||
|
|
||||||
CFLAGS_$(AMDDALPATH)/dc/dcn31/dcn31_resource.o := -mhard-float -msse
|
ifdef CONFIG_X86
|
||||||
|
CFLAGS_$(AMDDALPATH)/dc/dcn31/dcn31_resource.o := -msse
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_PPC64
|
||||||
|
CFLAGS_$(AMDDALPATH)/dc/dcn31/dcn31_resource.o := -mhard-float -maltivec
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_CC_IS_GCC
|
ifdef CONFIG_CC_IS_GCC
|
||||||
ifeq ($(call cc-ifversion, -lt, 0701, y), y)
|
ifeq ($(call cc-ifversion, -lt, 0701, y), y)
|
||||||
IS_OLD_GCC = 1
|
IS_OLD_GCC = 1
|
||||||
endif
|
endif
|
||||||
|
CFLAGS_$(AMDDALPATH)/dc/dcn31/dcn31_resource.o += -mhard-float
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef IS_OLD_GCC
|
ifdef IS_OLD_GCC
|
||||||
|
|
Loading…
Add table
Reference in a new issue