linux-next: build failure after merge of the amdgpu tree

From: Stephen Rothwell
Date: Fri Jun 03 2022 - 00:43:35 EST


Hi all,

After merging the amdgpu tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c: In function 'dml32_ModeSupportAndSystemConfigurationFull':
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c:3835:1: error: the frame size of 2752 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
3835 | } // ModeSupportAndSystemConfigurationFull
| ^
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.o] Error 1
gcc: error: unrecognized command-line option '-msse'
gcc: error: unrecognized command-line option '-msse2'
make[5]: *** [scripts/Makefile.build:251: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_resource.o] Error 1
gcc: error: unrecognized command-line option '-msse'
gcc: error: unrecognized command-line option '-msse2'

Caused (probably) by commits

5cbb369e32bd ("drm/amd/display: DML changes for DCN32/321")
b5dbe04a9c8c ("drm/amd/display: add CLKMGR changes for DCN32/321")
4f185390597e ("drm/amd/display: add DCN32/321 specific files for Display Core")

I have used the amdgpu tree from next-20220601 again for today.

Is this new stuff really for the current merge window? If so, it has
arrived pretty late. If not then it should not have been in linux-next
at all ...
--
Cheers,
Stephen Rothwell

Attachment: pgprdkFjYULWt.pgp
Description: OpenPGP digital signature