[PATCH 4/4] drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN

Nathan Chancellor natechancellor at gmail.com
Tue Nov 3 22:44:07 UTC 2020


On Tue, Nov 03, 2020 at 04:36:05PM -0500, Alex Deucher wrote:
> On Tue, Nov 3, 2020 at 1:27 PM Nathan Chancellor
> <natechancellor at gmail.com> wrote:
> >
> > On Tue, Nov 03, 2020 at 12:41:27PM -0500, Alex Deucher wrote:
> > > On Mon, Nov 2, 2020 at 8:01 PM Nathan Chancellor
> > > <natechancellor at gmail.com> wrote:
> > > >
> > > > On Mon, Nov 02, 2020 at 05:33:14PM -0500, Alex Deucher wrote:
> > > > > On Thu, Oct 29, 2020 at 6:14 PM Nathan Chancellor
> > > > > <natechancellor at gmail.com> wrote:
> > > > > >
> > > > > > On Fri, Oct 16, 2020 at 12:50:04PM -0400, Alex Deucher wrote:
> > > > > > > Avoids confusion in configurations.
> > > > > > >
> > > > > > > Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> > > > > >
> > > > > > This patch causes a build failure with Fedora's aarch64 config (at
> > > > > > commit 2e3a5bc5feeab1ed21f0105f1440a2ff0aef62f9):
> > > > > >
> > > > >
> > > > > Does the attached patch fix it?
> > > > >
> > > > > Alex
> > > >
> > > > Closer:
> > > >
> > >
> > > How about this one?
> > >
> > > Alex
> >
> > I still see three errors it looks like.
> >
> 
> Third time is the charm.
> 
> Alex

Two remaining ones related to -msse2 flags:

drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c: In function 'dcn_bw_calc_rq_dlg_ttu':
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:516:1: warning: the frame size of 1600 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  516 | }
      | ^
aarch64-linux-gcc: error: unrecognized command-line option '-msse2'
make[5]: *** [scripts/Makefile.build:283: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_optc.o] Error 1
aarch64-linux-gcc: error: unrecognized command-line option '-msse2'
make[5]: *** [scripts/Makefile.build:283: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.o] Error 1
make[5]: Target '__build' not remade because of errors.
make[4]: *** [scripts/Makefile.build:500: drivers/gpu/drm/amd/amdgpu] Error 2
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:500: drivers/gpu/drm] Error 2
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:500: drivers/gpu] Error 2
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1797: drivers] Error 2
make[1]: Target 'drivers/gpu/drm/amd/amdgpu/amdgpu.ko' not remade because of errors.
make: *** [Makefile:335: __build_one_by_one] Error 2
make: Target 'clean' not remade because of errors.
make: Target 'olddefconfig' not remade because of errors.
make: Target 'drivers/gpu/drm/amd/amdgpu/amdgpu.ko' not remade because of errors.

Cheers,
Nathan


More information about the amd-gfx mailing list