From: Harry Wentland <harry.wentland@amd.com>
To: Alex Deucher <alexdeucher@gmail.com>, Mike Lothian <mike@fireburn.co.uk>
Cc: "Liu, Zhan" <Zhan.Liu@amd.com>,
"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
"Liu, Charlene" <Charlene.Liu@amd.com>,
"Deucher, Alexander" <Alexander.Deucher@amd.com>,
"Pillai, Aurabindo" <Aurabindo.Pillai@amd.com>
Subject: Re: [PATCH 02/02 v2] drm/amd/display: add cyan_skillfish display support
Date: Thu, 30 Sep 2021 10:40:11 -0400 [thread overview]
Message-ID: <2e915328-cb03-4bbe-4e15-d7bc735fa39c@amd.com> (raw)
In-Reply-To: <CADnq5_NPe2Qq6bXifsFis5tfe=2Uh4nwOZ4RubfhezkvcPucZg@mail.gmail.com>
On 2021-09-30 10:12, Alex Deucher wrote:
> On Thu, Sep 30, 2021 at 10:10 AM Alex Deucher <alexdeucher@gmail.com> wrote:
>>
>> On Wed, Sep 29, 2021 at 10:00 PM Alex Deucher <alexdeucher@gmail.com> wrote:
>>>
>>> On Wed, Sep 29, 2021 at 7:23 PM Mike Lothian <mike@fireburn.co.uk> wrote:
>>>>
>>>> Hi
>>>>
>>>> This patch is causing a failure for me when building with clang:
>>>>
>>>>
>>>> Enable DCN201 support in DC (DRM_AMD_DC_DCN201) [Y/n/?] (NEW) y
>>>> Enable HDCP support in DC (DRM_AMD_DC_HDCP) [Y/n/?] y
>>>> AMD DC support for Southern Islands ASICs (DRM_AMD_DC_SI) [N/y/?] n
>>>> Enable secure display support (DRM_AMD_SECURE_DISPLAY) [Y/n/?] y
>>>> DESCEND objtool
>>>> CALL scripts/atomic/check-atomics.sh
>>>> CALL scripts/checksyscalls.sh
>>>> CHK include/generated/compile.h
>>>> UPD kernel/config_data
>>>> GZIP kernel/config_data.gz
>>>> CC kernel/configs.o
>>>> AR kernel/built-in.a
>>>> CC drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/clk_mgr.o
>>>> CC drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_optc.o
>>>> clang-12: error: unknown argument: '-mpreferred-stack-boundary=4'
>>>> make[4]: *** [scripts/Makefile.build:278:
>>>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_optc.o] Error 1
>>>> make[4]: *** Waiting for unfinished jobs....
>>>> make[3]: *** [scripts/Makefile.build:540: drivers/gpu/drm/amd/amdgpu] Error 2
>>>> make[2]: *** [scripts/Makefile.build:540: drivers/gpu/drm] Error 2
>>>> make[1]: *** [scripts/Makefile.build:540: drivers/gpu] Error 2
>>>> make: *** [Makefile:1868: drivers] Error 2
>>>
>>> The Makefiles for the new stuff added probably need to be fixed up for
>>> clang like the other Makefiles. I can take a look tomorrow.
>>
>> I don't see anything off in the Makefiles. Can you try with a clean tree?
>>
>
> Nevermind, Harry found it. patch on the list.
>
I found a clang build error with dcn201_resources.o, not in dcn30_optc.o.
Not sure why you're seeing this with dcn30_optc.o.
Harry
> Alex
>
prev parent reply other threads:[~2021-09-30 14:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-27 21:16 [PATCH 02/02 v2] drm/amd/display: add cyan_skillfish display support Liu, Zhan
2021-09-27 21:35 ` Harry Wentland
2021-09-27 21:37 ` Alex Deucher
2021-09-29 23:22 ` Mike Lothian
2021-09-29 23:40 ` Liu, Zhan
2021-09-30 2:00 ` Alex Deucher
2021-09-30 14:10 ` Alex Deucher
2021-09-30 14:12 ` Alex Deucher
2021-09-30 14:40 ` Harry Wentland [this message]
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=2e915328-cb03-4bbe-4e15-d7bc735fa39c@amd.com \
--to=harry.wentland@amd.com \
--cc=Alexander.Deucher@amd.com \
--cc=Aurabindo.Pillai@amd.com \
--cc=Charlene.Liu@amd.com \
--cc=Zhan.Liu@amd.com \
--cc=alexdeucher@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=mike@fireburn.co.uk \
/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