Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 8 messages Jun 3, 2022 – Jun 23, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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 ...

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 16 lines · On Fri, 3 Jun 2022 14:43:15 +1000 Stephen Rothwell <[email protected]> wrote:

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'

Quoted 7 lines

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.

I am still getting these failures.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 9 lines · On Fri, 3 Jun 2022 14:43:15 +1000 Stephen Rothwell <[email protected]> wrote:

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

I am still getting the above failure.

Quoted 5 lines

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'

These are fixed.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw

Hi all,

Quoted 6 lines · On Wed, 15 Jun 2022 15:00:13 +1000 Stephen Rothwell <[email protected]>…
Quoted 4 lines · On Fri, 3 Jun 2022 14:43:15 +1000 Stephen Rothwell <[email protected]> wrote:

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

Quoted 7 lines
Quoted 5 lines

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

I am still getting the above failure.

I am still getting the above failure ... it has now been 19 days :-(

Signature · 2 lines
Cheers,
Stephen Rothwell
#4 lore raw
Quoted 16 lines · Stephen Rothwell

Hi all,

Quoted 12 lines · On Wed, 15 Jun 2022 15:00:13 +1000 Stephen Rothwell <[email protected]>…
Quoted 9 lines · On Fri, 3 Jun 2022 14:43:15 +1000 Stephen Rothwell <[email protected]> wrote:

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

Quoted 3 lines
Quoted 1 line

I am still getting the above failure.

I am still getting the above failure ... it has now been 19 days :-(

Is it still the same error or something else? I thought this was fixed in this patch:
https://gitlab.freedesktop.org/agd5f/linux/-/commit/d6aa8424bcac64b2608452589c9a09984251c01c

Alex

Quoted 4 lines

--
Cheers,
Stephen Rothwell

#5 lore raw

Hi Alex,

Quoted 16 lines · On Tue, 21 Jun 2022 11:02:30 -0400 Alex Deucher <[email protected]> wrote:
Quoted 14 lines · Stephen Rothwell
Quoted 12 lines · On Wed, 15 Jun 2022 15:00:13 +1000 Stephen Rothwell <[email protected]>…
Quoted 9 lines · On Fri, 3 Jun 2022 14:43:15 +1000 Stephen Rothwell <[email protected]> wrote:

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

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

I am still getting the above failure.

I am still getting the above failure ... it has now been 19 days :-(

Is it still the same error or something else? I thought this was fixed in this patch:
https://gitlab.freedesktop.org/agd5f/linux/-/commit/d6aa8424bcac64b2608452589c9a09984251c01c

Here is the message I got yesterday:

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:3833:1: error: the frame size of 2720 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
3833 | } // ModeSupportAndSystemConfigurationFull

      | ^
Signature · 2 lines
Cheers,
Stephen Rothwell
#6 lore raw
Quoted 28 lines · Stephen Rothwell

Hi Alex,

Quoted 16 lines · On Tue, 21 Jun 2022 11:02:30 -0400 Alex Deucher <[email protected]> wrote:
Quoted 14 lines · Stephen Rothwell
Quoted 12 lines · On Wed, 15 Jun 2022 15:00:13 +1000 Stephen Rothwell <[email protected]>…
Quoted 9 lines · On Fri, 3 Jun 2022 14:43:15 +1000 Stephen Rothwell <[email protected]> wrote:

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

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

I am still getting the above failure.

I am still getting the above failure ... it has now been 19 days :-(

Is it still the same error or something else? I thought this was fixed in this patch:
https://gitlab.freedesktop.org/agd5f/linux/-/commit/d6aa8424bcac64b2608452589c9a09984251c01c

Quoted 7 lines

Here is the message I got yesterday:

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:3833:1: error: the frame size of 2720 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
3833 | } // ModeSupportAndSystemConfigurationFull

      | ^

Thanks. I think I fixed it. Patch sent out.

Alex

Quoted 3 lines

--
Cheers,
Stephen Rothwell

#7 lore raw

Hi Alex,

Quoted 2 lines · On Wed, 22 Jun 2022 10:48:50 -0400 Alex Deucher <[email protected]> wrote:

Thanks. I think I fixed it. Patch sent out.

Yes, that got it. Thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell