summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2023-10-18 11:45:52 -0700
committerAlex Deucher <alexander.deucher@amd.com>2023-10-20 15:11:27 -0400
commit089dbf6a06f1dcaeed4f8b86d619e8d28b235207 (patch)
tree6ddd4e236ff523865c29f9aa19aba4b3208ecab1 /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
parentb63eae94d28ccdb46c49803c6552876e5c907f4c (diff)
drm/amd/display: Respect CONFIG_FRAME_WARN=0 in DML2
display_mode_code.c is unconditionally built with -Wframe-larger-than=2048, which causes warnings even when CONFIG_FRAME_WARN has been set to 0, which should show no warnings. Use the existing $(frame_warn_flag) variable, which handles this situation. This is basically commit 25f178bbd078 ("drm/amd/display: Respect CONFIG_FRAME_WARN=0 in dml Makefile") but for DML2. Fixes: 7966f319c66d ("drm/amd/display: Introduce DML2") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h')
0 files changed, 0 insertions, 0 deletions