From: zhoucm1 <david1.zhou-5C7GfCeVMHo@public.gmane.org>
To: Harry Wentland <harry.wentland-5C7GfCeVMHo@public.gmane.org>,
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: "Alex Deucher" <Alexander.Deucher-5C7GfCeVMHo@public.gmane.org>,
"Tony Cheng" <Tony.Cheng-5C7GfCeVMHo@public.gmane.org>,
"Dmytro Laktyushkin"
<Dmytro.Laktyushkin-5C7GfCeVMHo@public.gmane.org>,
"Michel Dänzer" <michel.daenzer-5C7GfCeVMHo@public.gmane.org>,
"Christian König" <christian.koenig-5C7GfCeVMHo@public.gmane.org>
Subject: Re: [PATCH 03/19] drm/amd/display: Limit DCN to x86 arch
Date: Thu, 1 Jun 2017 12:15:04 +0800 [thread overview]
Message-ID: <592F94C8.9060808@amd.com> (raw)
In-Reply-To: <20170531155218.29934-4-harry.wentland-5C7GfCeVMHo@public.gmane.org>
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?
Regards,
David Zhou
>
> Change-Id: I63d214b2f6fe9b3fc0d59bd00563e0543f0baa8c
> 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>
> ---
> 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
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2017-06-01 4:15 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 15:51 [PATCH 00/19] DC Linux Patches May 31, 2017 Harry Wentland
[not found] ` <20170531155218.29934-1-harry.wentland-5C7GfCeVMHo@public.gmane.org>
2017-05-31 15:52 ` [PATCH 01/19] drm/amd/display: add always_scale debug flag to dc Harry Wentland
2017-05-31 15:52 ` [PATCH 02/19] drm/amd/display: program scaler not called Harry Wentland
2017-05-31 15:52 ` [PATCH 03/19] drm/amd/display: Limit DCN to x86 arch Harry Wentland
[not found] ` <20170531155218.29934-4-harry.wentland-5C7GfCeVMHo@public.gmane.org>
2017-06-01 4:15 ` zhoucm1 [this message]
[not found] ` <592F94C8.9060808-5C7GfCeVMHo@public.gmane.org>
2017-06-01 8:50 ` Christian König
[not found] ` <fc9f8053-ac43-0774-ca52-c2c988685a45-5C7GfCeVMHo@public.gmane.org>
2017-06-01 9:03 ` zhoucm1
2017-06-01 12:54 ` Alex Deucher
2017-05-31 15:52 ` [PATCH 04/19] drm/amd/display: Fix handling of scaling and underscan Harry Wentland
[not found] ` <20170531155218.29934-5-harry.wentland-5C7GfCeVMHo@public.gmane.org>
2017-05-31 16:39 ` Kai Wasserbäch
2017-05-31 15:52 ` [PATCH 05/19] drm/amd/display: Clean unused interface Harry Wentland
2017-05-31 15:52 ` [PATCH 06/19] drm/amd/display: Add disable_psr debug flag Harry Wentland
2017-05-31 15:52 ` [PATCH 07/19] drm/amd/display: Allow update stream without surface Harry Wentland
2017-05-31 15:52 ` [PATCH 08/19] drm/amd/display: Add FORCE_HDR timing flag Harry Wentland
2017-05-31 15:52 ` [PATCH 09/19] drm/amd/display: Disable PSR entry abort to prevent intermittent freezes Harry Wentland
2017-05-31 15:52 ` [PATCH 10/19] drm/amd/display: fix NULL pointer in dm_commit_surfaces Harry Wentland
2017-05-31 15:52 ` [PATCH 11/19] drm/amd/display: Get rid of get_dm_commit_action Harry Wentland
2017-05-31 15:52 ` [PATCH 12/19] drm/amd/display: Don't guard x86 in Makefile Harry Wentland
[not found] ` <20170531155218.29934-13-harry.wentland-5C7GfCeVMHo@public.gmane.org>
2017-05-31 16:30 ` Kai Wasserbäch
2017-05-31 15:52 ` [PATCH 13/19] drm/amd/display: create_links bug with empty DDI slot Harry Wentland
2017-05-31 15:52 ` [PATCH 14/19] drm/amd/display: re-order the luma chroma addres updation Harry Wentland
2017-05-31 15:52 ` [PATCH 15/19] drm/amd/display: default spd packet to invalid Harry Wentland
2017-05-31 15:52 ` [PATCH 16/19] drm/amd/display: update NV12/NV21 as the YUV format Harry Wentland
2017-05-31 15:52 ` [PATCH 17/19] drm/amd/display: Don't commit surfaces if no stream Harry Wentland
2017-05-31 15:52 ` [PATCH 18/19] drm/amd/display: enable static audio routing Harry Wentland
2017-05-31 15:52 ` [PATCH 19/19] drm/amd/display: stop adjusting scl taps when scl ratio is one on dcn Harry Wentland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=592F94C8.9060808@amd.com \
--to=david1.zhou-5c7gfcevmho@public.gmane.org \
--cc=Alexander.Deucher-5C7GfCeVMHo@public.gmane.org \
--cc=Dmytro.Laktyushkin-5C7GfCeVMHo@public.gmane.org \
--cc=Tony.Cheng-5C7GfCeVMHo@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=christian.koenig-5C7GfCeVMHo@public.gmane.org \
--cc=harry.wentland-5C7GfCeVMHo@public.gmane.org \
--cc=michel.daenzer-5C7GfCeVMHo@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.