Skip to content

-Wframe-larger-than= in drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c #1455

Closed
@nathanchance

Description

@nathanchance

In several different configurations, I see an excessive amount of stack usage in certain functions within drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c:

arm32-allmodconfig.log: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:3043:6: error: stack frame size (1384) exceeds limit (1024) in function 'bw_calcs' [-Werror,-Wframe-larger-than]
arm32-allmodconfig.log: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:77:13: error: stack frame size (5560) exceeds limit (1024) in function 'calculate_bandwidth' [-Werror,-Wframe-larger-than]

arm32-fedora.log: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:3043:6: error: stack frame size (1376) exceeds limit (1024) in function 'bw_calcs' [-Werror,-Wframe-larger-than]
arm32-fedora.log: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:77:13: error: stack frame size (5384) exceeds limit (1024) in function 'calculate_bandwidth' [-Werror,-Wframe-larger-than]

s390x-allmodconfig.log:drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:77:13: error: stack frame size (5184) exceeds limit (2048) in function 'calculate_bandwidth' [-Werror,-Wframe-larger-than]

Initial report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    -Wframe-larger-than=CONFIG_WERRORHas in an error with CONFIG_WERROR (all{mod,yes}config) (or emits a non-compiler warning)Clean buildIssue needs to be fixed to get a warning-free all*config build[ARCH] arm32This bug impacts ARCH=arm[ARCH] s390This bug impacts ARCH=s390[BUG] UntriagedSomething isn't working[CONFIG] allmodconfigIssue affects allmodconfig on certain architecturesduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions