[PATCH 02/02 v2] drm/amd/display: add cyan_skillfish display support

Alex Deucher alexdeucher at gmail.com
Thu Sep 30 14:12:20 UTC 2021


On Thu, Sep 30, 2021 at 10:10 AM Alex Deucher <alexdeucher at gmail.com> wrote:
>
> On Wed, Sep 29, 2021 at 10:00 PM Alex Deucher <alexdeucher at gmail.com> wrote:
> >
> > On Wed, Sep 29, 2021 at 7:23 PM Mike Lothian <mike at 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.

Alex


More information about the amd-gfx mailing list