diff options
author | Harry Wentland <harry.wentland@amd.com> | 2017-05-19 05:13:19 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-27 01:07:32 +0300 |
commit | bf2e2e2e0ea9ace6ed11423497664656943ec55f (patch) | |
tree | ed30d611d94730fdce1418aeccc992b46d80f2c1 /drivers/gpu/drm/amd/display/dc/calcs/Makefile | |
parent | c1473558e617d886276e4a8b3c139b681d90d67c (diff) | |
download | linux-bf2e2e2e0ea9ace6ed11423497664656943ec55f.tar.xz |
drm/amd/display: Limit DCN to x86 arch
DCN bw calcs currently rely on the following gcc options:
-mhard-float -msse -mpreferred-stack-boundary=4
We probably shouldn't really try building this on architectures
other than x86.
CC: Alex Deucher <Alexander.Deucher@amd.com>
CC: Christian König <christian.koenig@amd.com>
CC: Michel Dänzer <michel.daenzer@amd.com>
CC: Tony Cheng <Tony.Cheng@amd.com>
CC: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/calcs/Makefile')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/calcs/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/calcs/Makefile b/drivers/gpu/drm/amd/display/dc/calcs/Makefile index a095472bf4b5..2e4ce0918c02 100644 --- a/drivers/gpu/drm/amd/display/dc/calcs/Makefile +++ b/drivers/gpu/drm/amd/display/dc/calcs/Makefile @@ -3,9 +3,11 @@ # It calculates Bandwidth and Watermarks values for HW programming # +ifeq ($(ARCH),x86) CFLAGS_dcn_calcs.o := -mhard-float -msse -mpreferred-stack-boundary=4 CFLAGS_dcn_calc_auto.o := -mhard-float -msse -mpreferred-stack-boundary=4 CFLAGS_dcn_calc_math.o := -mhard-float -msse -mpreferred-stack-boundary=4 +endif BW_CALCS = dce_calcs.o bw_fixed.o custom_float.o |