RE: [REGRESSION] next/master: (build) the frame size of 1448 bytes is larger than 1024 bytes [-Werror=fr...

"Deucher, Alexander" <[email protected]> Tue, 12 Aug 2025 16:17:14 +0000
Newsgroups dev.linux.lists.kernelci,dev.linux.lists.regressions,org.kernel.vger.linux-next
Message-ID <BL1PR12MB5144DCB499A8CEB1425F0B5EF72BA@BL1PR12MB5144.namprd12.prod.outlook.com>
[AMD Official Use Only - AMD Internal Distribution Only]

+ Harry, Leo

Can you guys please send a fix?

Thanks,

Alex

> -----Original Message-----
> From: Stephen Rothwell <[email protected]>
> Sent: Monday, August 11, 2025 11:26 PM
> To: Amini, Reza <[email protected]>; Deucher, Alexander
> <[email protected]>
> Cc: KernelCI bot <[email protected]>; [email protected]; kernelci-
> [email protected]; [email protected]; [email protected]; linux-
> [email protected]
> Subject: Re: [REGRESSION] next/master: (build) the frame size of 1448 bytes is
> larger than 1024 bytes [-Werror=fr...
>
> Hi all,
>
> On Tue, 5 Aug 2025 22:19:46 +1000 Stephen Rothwell <[email protected]>
> wrote:
> >
> > On Tue, 05 Aug 2025 05:59:04 -0000 KernelCI bot <[email protected]> wrote:
> > >
> > > New build issue found on next/master:
> > >
> > > ---
> > >  the frame size of 1448 bytes is larger than 1024 bytes
> > > [-Werror=frame-larger-than=] in
> > > drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.o
> > > (drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c)
> > > [logspec:kbuild,kbuild.compiler.error]
> > > ---
> > >
> > > - dashboard:
> > > https://d.kernelci.org/i/maestro:4d4120bf99fecc5f852604382b7c406b994
> > > 40116
> > > - giturl:
> > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> > > - commit HEAD:  afec768a6a8fe7fb02a08ffce5f2f556f51d4b52
> > > - tags: next-20250805
> > >
> > >
> > > Log excerpt:
> > > =====================================================
> > > drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c:608:1:
> error: the frame size of 1448 bytes is larger than 1024 bytes [-Werror=frame-larger-
> than=]
> > >   608 | }
> > >       | ^
> > >   CC
> drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn303/dcn303_hwseq.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn303/dcn303_init.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn31/dcn31_hwseq.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn31/dcn31_init.o
> > >   CC
> drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn314/dcn314_hwseq.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn314/dcn314_init.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn32/dcn32_hwseq.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn32/dcn32_init.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn35/dcn35_hwseq.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn35/dcn35_init.o
> > > drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c: In
> function ‘dcn10_log_hubp_states’:
> > > drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c:447:1:
> error: the frame size of 1156 bytes is larger than 1024 bytes [-Werror=frame-larger-
> than=]
> > >   447 | }
> > >       | ^
> > >   CC
> drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn351/dcn351_hwseq.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn351/dcn351_init.o
> > >   CC
> drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_init.o
> > >   CC      drivers/gpu/drm/amd/amdgpu/../display/dc/irq/irq_service.o
> > >   CC
> drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dce80/irq_service_dce80.o
> > >   CC
> drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dce110/irq_service_dce110.o
> > >   CC
> drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dce120/irq_service_dce120.o
> > >   CC
> drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dcn10/irq_service_dcn10.o
> > >   CC
> drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dcn20/irq_service_dcn20.o
> > > cc1: all warnings being treated as errors
> > >
> > > =====================================================
> > >
> > >
> > > # Builds where the incident occurred:
> > >
> > > ## defconfig+kcidebug+x86-board on (i386):
> > > - compiler: gcc-12
> > > - dashboard:
> > > https://d.kernelci.org/build/maestro:689185f279d5d217e5430785
> > >
> > >
> > > #kernelci issue maestro:4d4120bf99fecc5f852604382b7c406b99440116
> > >
> > > Reported-by: kernelci.org bot <[email protected]>
> > >
> > > --
> > > This is an experimental report format. Please send feedback in!
> > > Talk to us at [email protected]
> > >
> > > Made with love by the KernelCI team - https://kernelci.org
> > >
> >
> > Presumably caused by commit
> >
> >   e63e9f8b3d1c ("drm/amd/display: Fixing hubp programming of 3dlut
> > fast load")
> >
> > from the amdgpu tree.  Just making the two new pLabels arrays "static"
> > (and maybe "const") will probably help.  Maybe declaring them "static
> > const char *pLabels[]" ?
>
> Ping?
>
> --
> Cheers,
> Stephen Rothwell