Skip to contentSkip to conversation

drm/amd/display: Bump frame warning limit for all builds of dml

PATCH New Alex Deucher 1 participant 1 message Sep 24

Subsystems (4)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amd/display: Bump frame warning limit for all builds of dml

Some configs with gcc are also now affected.

---
 drivers/gpu/drm/amd/display/dc/dml/Makefile    | 6 +-----
 drivers/gpu/drm/amd/display/dc/dml2_0/Makefile | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)
drivers/gpu/drm/amd/display/dc/dml/Makefile +1 -5
index 79eeb3721b996..91465ac05c971 100644
@@ -36,11 +36,7 @@ ifneq ($(CONFIG_FRAME_WARN),0)
             frame_warn_limit := 3072
         endif
     else
-        ifeq ($(CONFIG_CC_IS_CLANG),y)
-            frame_warn_limit := 3072
-        else
-            frame_warn_limit := 2048
-        endif
+	frame_warn_limit := 3072
     endif
 
     ifeq ($(call test-lt, $(CONFIG_FRAME_WARN), $(frame_warn_limit)),y)
drivers/gpu/drm/amd/display/dc/dml2_0/Makefile +1 -1
index 615cd0ca9450d..e8bd061be05c1 100644
@@ -35,7 +35,7 @@ ifneq ($(CONFIG_FRAME_WARN),0)
             frame_warn_limit := 3072
         endif
     else
-        frame_warn_limit := 2056
+        frame_warn_limit := 3072
     endif
 
     ifeq ($(call test-lt, $(CONFIG_FRAME_WARN), $(frame_warn_limit)),y)
Signature · 1 line
2.55.0