Skip to contentSkip to conversation

mainline build failure due to 7966f319c66d ("drm/amd/display: Introduce DML2")

DISCUSSION Sudip Mukherjee (Codethink) 3 participants 6 messages Nov 2, 2023 – Nov 12, 2023 Regressions

lore
Share & tools
lore
#0 lore raw

Hi All,

The latest mainline kernel branch fails to build x86_64 allmodconfig with the error:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c: In function 'dml_prefetch_check':
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:6707:1: error: the frame size of 2056 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
6707 | }

      | ^

git bisect pointed to 7966f319c66d ("drm/amd/display: Introduce DML2")

I will be happy to test any patch or provide any extra log if needed.

#regzbot introduced: 7966f319c66d9468623c6a6a017ecbc0dd79be75

Signature · 2 lines
Regards
Sudip
#1 lore raw
Quoted 6 lines · Sudip Mukherjee (Codethink)

Hi All,

The latest mainline kernel branch fails to build x86_64 allmodconfig with the error:

Quoted 8 lines

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c: In function 'dml_prefetch_check':
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:6707:1: error: the frame size of 2056 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
6707 | }

      | ^

git bisect pointed to 7966f319c66d ("drm/amd/display: Introduce DML2")

I will be happy to test any patch or provide any extra log if needed.

This was reported earlier and fixed by:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=089dbf6a06f1dcaeed4f8b86d619e8d28b235207
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b141fa036c901303ca5659cc22e9c08f8b097892
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5b2c54e0d0ea09f7a3b500510731878326e1117e
but I guess maybe different compiler versions are still hitting this.

Alex

Quoted 6 lines

#regzbot introduced: 7966f319c66d9468623c6a6a017ecbc0dd79be75

--
Regards
Sudip

#2 lore raw
Quoted 16 lines · Alex Deucher
Quoted 13 lines · Sudip Mukherjee (Codethink)

Hi All,

The latest mainline kernel branch fails to build x86_64 allmodconfig with the error:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c: In function 'dml_prefetch_check':
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:6707:1: error: the frame size of 2056 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
6707 | }

      | ^

git bisect pointed to 7966f319c66d ("drm/amd/display: Introduce DML2")

Quoted 7 lines
Quoted 1 line

I will be happy to test any patch or provide any extra log if needed.

This was reported earlier and fixed by:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=089dbf6a06f1dcaeed4f8b86d619e8d28b235207
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b141fa036c901303ca5659cc22e9c08f8b097892
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5b2c54e0d0ea09f7a3b500510731878326e1117e
but I guess maybe different compiler versions are still hitting this.

Yes, I should have mentioned. gcc-11 and gcc-12 failed to build. but gcc-13 was ok.

Signature · 2 lines
Regards
Sudip
#3 lore raw
Quoted 20 lines · Sudip Mukherjee
Quoted 18 lines · Alex Deucher
Quoted 14 lines · Sudip Mukherjee (Codethink)

Hi All,

The latest mainline kernel branch fails to build x86_64 allmodconfig with the error:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c: In function 'dml_prefetch_check':
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:6707:1: error: the frame size of 2056 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
6707 | }

      | ^

git bisect pointed to 7966f319c66d ("drm/amd/display: Introduce DML2")

I will be happy to test any patch or provide any extra log if needed.

Quoted 8 lines
Quoted 5 lines

This was reported earlier and fixed by:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=089dbf6a06f1dcaeed4f8b86d619e8d28b235207
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b141fa036c901303ca5659cc22e9c08f8b097892
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5b2c54e0d0ea09f7a3b500510731878326e1117e
but I guess maybe different compiler versions are still hitting this.

Yes, I should have mentioned. gcc-11 and gcc-12 failed to build. but gcc-13 was ok.

Should be fixed with Nathan's patch:
https://patchwork.freedesktop.org/patch/565675/

Alex

author Tested-by
#4 lore raw
Quoted 29 lines · Alex Deucher
Quoted 26 lines · Sudip Mukherjee
Quoted 23 lines · Alex Deucher
Quoted 6 lines · Sudip Mukherjee (Codethink)

Hi All,

The latest mainline kernel branch fails to build x86_64 allmodconfig with the error:

Quoted 8 lines

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c: In function 'dml_prefetch_check':
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:6707:1: error: the frame size of 2056 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
6707 | }

      | ^

git bisect pointed to 7966f319c66d ("drm/amd/display: Introduce DML2")

I will be happy to test any patch or provide any extra log if needed.

This was reported earlier and fixed by:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=089dbf6a06f1dcaeed4f8b86d619e8d28b235207
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b141fa036c901303ca5659cc22e9c08f8b097892
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5b2c54e0d0ea09f7a3b500510731878326e1117e
but I guess maybe different compiler versions are still hitting this.

Quoted 5 lines
Quoted 2 lines

Yes, I should have mentioned. gcc-11 and gcc-12 failed to build. but gcc-13 was ok.

Should be fixed with Nathan's patch:
https://patchwork.freedesktop.org/patch/565675/

Yes, it does. Thanks.

Signature · 2 lines
Regards
Sudip
#5 lore raw

[TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.]

Quoted 7 lines · Sudip Mukherjee
Quoted 6 lines · Alex Deucher
Quoted 3 lines · Sudip Mukherjee
Quoted 2 lines · Alex Deucher

On Thu, Nov 2, 2023 at 5:32 AM Sudip Mukherjee (Codethink) <[email protected]> wrote:

Quoted 6 lines
Quoted 2 lines

Should be fixed with Nathan's patch:
https://patchwork.freedesktop.org/patch/565675/

Yes, it does. Thanks.

#regzbot fix: 6740ec97bcdbe9
#regzbot ignore-activity

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) --
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.