diff options
| author | Nathan Chancellor <[email protected]> | 2024-04-24 18:19:27 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-26 21:25:06 +0000 |
| commit | aa463cc850c464091cb749317372b70415d3e7d9 (patch) | |
| tree | 20f21211e8d768beff253dd245c80d74095ac5fe /drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c | |
| parent | drm/amd/display: Add frame_warn_flag to dml2_core_shared.o (diff) | |
| download | kernel-aa463cc850c464091cb749317372b70415d3e7d9.tar.gz kernel-aa463cc850c464091cb749317372b70415d3e7d9.zip | |
drm/amd/display: Fix CFLAGS for dml2_core_dcn4_calcs.o
-Wframe-larger-than=2048 is a part of both CFLAGS and CFLAGS_REMOVE for
dml2_core_dcn4_calcs.o, which means that it ultimately gets removed
altogether for 64-bit targets, as 2048 is the default FRAME_WARN value
for 64-bit platforms, resulting in no -Wframe-larger-than coverage for
this file.
Remove -Wframe-larger-than from CFLAGS_REMOVE_dml2_core_dcn4_calcs.o and
move to $(frame_warn_flag) for CFLAGS_dml2_core_dcn4_calcs.o, as that
accounts for the fact that -Wframe-larger-than may need to be larger
than 2048 in certain situations, such as when the sanitizers are
enabled.
Fixes: 00c391102abc ("drm/amd/display: Add misc DC changes for DCN401")
Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c')
0 files changed, 0 insertions, 0 deletions
