summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dcn30/Makefile
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-11-02 16:18:09 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-11-04 17:11:43 -0500
commit582e2ce5b4ece37055c6ebe58ab48a4817d30b10 (patch)
tree2bf20b5d8a1019b04f76df829ac8c56c80926043 /drivers/gpu/drm/amd/display/dc/dcn30/Makefile
parent20f2ffe504728612d7b0c34e4f8280e34251e704 (diff)
downloadlinux-stable-582e2ce5b4ece37055c6ebe58ab48a4817d30b10.tar.gz
linux-stable-582e2ce5b4ece37055c6ebe58ab48a4817d30b10.tar.bz2
linux-stable-582e2ce5b4ece37055c6ebe58ab48a4817d30b10.zip
drm/amdgpu/display: FP fixes for DCN3.x (v4)
Add proper FP_START/END handling and adjust Makefiles per previous asics. v2: fix up harder. v3: fix clkmgr Makefile for dcn30 v4: fix old gcc handling is only required for x86 Build-tested-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> (v1) Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> (v1) Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn30/Makefile')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn30/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/Makefile b/drivers/gpu/drm/amd/display/dc/dcn30/Makefile
index bd2a068f9863..248c2711aace 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn30/Makefile
+++ b/drivers/gpu/drm/amd/display/dc/dcn30/Makefile
@@ -52,6 +52,7 @@ IS_OLD_GCC = 1
endif
endif
+ifdef CONFIG_X86
ifdef IS_OLD_GCC
# Stack alignment mismatch, proceed with caution.
# GCC < 7.1 cannot compile code using `double` and -mpreferred-stack-boundary=3
@@ -62,6 +63,7 @@ else
CFLAGS_$(AMDDALPATH)/dc/dcn30/dcn30_resource.o += -msse2
CFLAGS_$(AMDDALPATH)/dc/dcn30/dcn30_optc.o += -msse2
endif
+endif
AMD_DAL_DCN30 = $(addprefix $(AMDDALPATH)/dc/dcn30/,$(DCN30))