[PATCH 03/19] drm/amd/display: Limit DCN to x86 arch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2017å¹´06æ??01æ?¥ 16:50, Christian König wrote:
> Am 01.06.2017 um 06:15 schrieb zhoucm1:
>>
>>
>> On 2017å¹´05æ??31æ?¥ 23:52, Harry Wentland wrote:
>>> 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.
>> Does it mean our card including DCN cannot run on other platform like 
>> ARM?
>
> Yeah, which is a bit problematic cause we need to support both ARM and 
> PowerPC with the driver as well.
I often heard external people want to run our card on embed platform, 
ARM is most.

Regards,
David Zhou
>
> Regards,
> Christian.
>
>>
>> Regards,
>> David Zhou
>>>
>>> Change-Id: I63d214b2f6fe9b3fc0d59bd00563e0543f0baa8c
>>> CC: Alex Deucher <Alexander.Deucher at amd.com>
>>> CC: Christian König <christian.koenig at amd.com>
>>> CC: Michel Dänzer <michel.daenzer at amd.com>
>>> CC: Tony Cheng <Tony.Cheng at amd.com>
>>> CC: Dmytro Laktyushkin <Dmytro.Laktyushkin at amd.com>
>>> Signed-off-by: Harry Wentland <harry.wentland at amd.com>
>>> Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
>>> Acked-by: Harry Wentland <Harry.Wentland at amd.com>
>>> ---
>>>   drivers/gpu/drm/amd/display/Kconfig           | 2 +-
>>>   drivers/gpu/drm/amd/display/dc/calcs/Makefile | 2 ++
>>>   2 files changed, 3 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/gpu/drm/amd/display/Kconfig 
>>> b/drivers/gpu/drm/amd/display/Kconfig
>>> index 2b8d77cebe03..62ea9f600374 100644
>>> --- a/drivers/gpu/drm/amd/display/Kconfig
>>> +++ b/drivers/gpu/drm/amd/display/Kconfig
>>> @@ -11,7 +11,7 @@ config DRM_AMD_DC
>>>     config DRM_AMD_DC_DCN1_0
>>>           bool "DCN 1.0 Raven family"
>>> -        depends on DRM_AMD_DC
>>> +        depends on DRM_AMD_DC && X86
>>>           help
>>>               Choose this option if you want to have
>>>               RV family for display engine
>>> 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
>>
>



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux