From: Guenter Roeck <linux@roeck-us.net>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: "Rodrigo Siqueira Jordao" <Rodrigo.Siqueira@amd.com>,
"Harry Wentland" <harry.wentland@amd.com>,
"Leo Li" <sunpeng.li@amd.com>,
"Michael Ellerman" <mpe@ellerman.id.au>,
LKML <linux-kernel@vger.kernel.org>,
"amd-gfx list" <amd-gfx@lists.freedesktop.org>,
"David Airlie" <airlied@linux.ie>,
"Maling list - DRI developers" <dri-devel@lists.freedesktop.org>,
"Alex Deucher" <alexander.deucher@amd.com>,
"Christian König" <christian.koenig@amd.com>,
"Daniel Axtens" <dja@axtens.net>
Subject: Re: [PATCH] drm/amd/display: Add missing hard-float compile flags for PPC64 builds
Date: Wed, 13 Jul 2022 16:09:17 -0700 [thread overview]
Message-ID: <20220713230917.GE32544@roeck-us.net> (raw)
In-Reply-To: <CADnq5_OrxMMkazXEPHeZXp_bV890=r21DRx2QsqLXUFj4t8aYg@mail.gmail.com>
On Wed, Jul 13, 2022 at 05:20:40PM -0400, Alex Deucher wrote:
> >
> > The problem is not the FPU operations, but the fact that soft-float
> > and hard-float compiled code is linked together. The soft-float and
> > hard-float ABIs on powerpc are not compatible, so one ends up with
> > an object file which is partially soft-float and partially hard-float
> > compiled and thus uses different ABIs. That can only create chaos,
> > so the linker complains about it.
>
> I get that, I just don't see why only DCN 3.1.x files have this
> problem. The DCN 2.x files should as well.
>
Seen in drivers/gpu/drm/amd/display/dc/clk_mgr/Makefile:
# prevent build errors regarding soft-float vs hard-float FP ABI tags
# this code is currently unused on ppc64, as it applies to Renoir APUs only
ifdef CONFIG_PPC64
CFLAGS_$(AMDDALPATH)/dc/clk_mgr/dcn21/rn_clk_mgr.o := $(call cc-option,-mno-gnu-attribute)
endif
Does that explain it ?
Guenter
next prev parent reply other threads:[~2022-07-13 23:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-18 23:27 Guenter Roeck
2022-06-20 21:51 ` Alex Deucher
2022-06-22 0:26 ` Guenter Roeck
2022-06-30 21:01 ` Rodrigo Siqueira Jordao
2022-06-30 21:34 ` Guenter Roeck
2022-07-01 1:00 ` Guenter Roeck
2022-07-13 20:57 ` Alex Deucher
2022-07-13 21:18 ` Guenter Roeck
2022-07-13 21:20 ` Alex Deucher
2022-07-13 22:05 ` Guenter Roeck
2022-07-13 23:09 ` Guenter Roeck [this message]
2022-07-14 1:11 ` Alex Deucher
2022-07-14 18:49 ` Melissa Wen
2022-07-14 20:24 ` Guenter Roeck
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=20220713230917.GE32544@roeck-us.net \
--to=linux@roeck-us.net \
--cc=Rodrigo.Siqueira@amd.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=alexdeucher@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dja@axtens.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpe@ellerman.id.au \
--cc=sunpeng.li@amd.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®