Skip to content

New stack frame size warnings in AMD display code with newer Clang-22git #2117

@ms178

Description

@ms178

Hi Nathan, as of recently, these new stack frame size warnings popped up with Clang-22git (a27d34b3f22b1134b2d47590c25b7f81eb7710b2) on my custom Kernel (6.15.9). Are they known issues? Should I file seperate issues for each of them to track each individually?

ld.lld: warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c:3490:0: stack frame size (2408) exceeds limit (2048) in function 'dml30_ModeSupportAndSystemConfigurationFull'
ld.lld: warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c:3775:0: stack frame size (2568) exceeds limit (2048) in function 'dml31_ModeSupportAndSystemConfigurationFull'
ld.lld: warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/display_mode_vba_314.c:3879:0: stack frame size (2576) exceeds limit (2048) in function 'dml314_ModeSupportAndSystemConfigurationFull'
ld.lld: warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:6716:0: stack frame size (2984) exceeds limit (2048) in function 'dml_core_mode_support'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions