[PATCH 18/19] drm/i915/display: Consider ultrajoiner for computing maxdotclock

Ankit Nautiyal ankit.k.nautiyal at intel.com
Mon Sep 16 09:59:41 UTC 2024


Use the check for ultrajoiner while computing maxdotclock.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index b19c99313cec..50b613e897b7 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -8204,8 +8204,11 @@ static int max_dotclock(struct drm_i915_private *i915)
 {
 	int max_dotclock = i915->display.cdclk.max_dotclk_freq;
 
+	if (HAS_ULTRAJOINER(i915))
+		max_dotclock *= 4;
+
 	/* icl+ might use joiner */
-	if (HAS_BIGJOINER(i915))
+	else if (HAS_BIGJOINER(i915))
 		max_dotclock *= 2;
 
 	return max_dotclock;
-- 
2.45.2



More information about the Intel-gfx-trybot mailing list