Skip to content

Commit 5b750b2

Browse files
committed
drm/amd/display: Increase frame warning limit with KASAN or KCSAN in dml
Does the same thing as: commit 6740ec9 ("drm/amd/display: Increase frame warning limit with KASAN or KCSAN in dml2") Reviewed-by: Harry Wentland <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: 67e3887 ("drm/amd/display: Increase num voltage states to 40") Signed-off-by: Alex Deucher <[email protected]> Cc: Alvin Lee <[email protected]> Cc: Hamza Mahfooz <[email protected]> Cc: Samson Tam <[email protected]> Cc: Harry Wentland <[email protected]>
1 parent dbf3850 commit 5b750b2

File tree

1 file changed

+4
-0
lines changed
  • drivers/gpu/drm/amd/display/dc/dml

1 file changed

+4
-0
lines changed

drivers/gpu/drm/amd/display/dc/dml/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,12 @@ endif
6161
endif
6262

6363
ifneq ($(CONFIG_FRAME_WARN),0)
64+
ifeq ($(filter y,$(CONFIG_KASAN)$(CONFIG_KCSAN)),y)
65+
frame_warn_flag := -Wframe-larger-than=3072
66+
else
6467
frame_warn_flag := -Wframe-larger-than=2048
6568
endif
69+
endif
6670

6771
CFLAGS_$(AMDDALPATH)/dc/dml/display_mode_lib.o := $(dml_ccflags)
6872
CFLAGS_$(AMDDALPATH)/dc/dml/display_mode_vba.o := $(dml_ccflags)

0 commit comments

Comments
 (0)