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

Stephen Rothwell <[email protected]> Tue, 12 Aug 2025 13:25:31 +1000
Newsgroups dev.linux.lists.kernelci,dev.linux.lists.regressions,org.kernel.vger.linux-next
Message-ID <[email protected]>
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:4d4120bf99fecc5f852604382b7c406b99440116
> > - 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
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmiatCsACgkQAVBC80lX
0GxVMgf/YhuBd3FES8a3zhQzqi/KEuf83u63Db849vipdqiE1/UEKyPWil/0l6jt
1ZhPIrAjXmAW0i4uh6qJLi3e20xc7X6S1SLcyI7JS1kscPYH3hCd5xYX0eHkAl/S
8Dhe/UycqUYL2Aq7wscf3kUQ8B6zEPYaxYVVV64DQIX9PQ1OGZSwKgGwK+9lxrX1
Ycec7inR8HKPPdoFj0dTt4zJWxzw9/9joYAyyAdDfohdePJFfziz8aUu6dDmqbo+
dGRMEpbmtyyAVa9Ti0sL/HnrvP7/3bRsK79xA/IPunDA0F357jASnu44XxdbEGcB
Y78qJ36QyWe4unYXAgv79SnlslFqcA==
=UKgg
-----END PGP SIGNATURE-----