[PATCH 29/32] drm/i915/display: Modify maxdotclock helper for ultrajoiner

Ankit Nautiyal ankit.k.nautiyal at intel.com
Wed Sep 4 08:45:40 UTC 2024


With ultrajoiner maxdotclock supported is 4 * maxdotclock.

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

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 45f9be8fe523..a3fd6efc0a8c 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -7690,6 +7690,10 @@ static int max_dotclock(struct drm_i915_private *i915)
 	if (DISPLAY_VER(i915) >= 11)
 		max_dotclock *= 2;
 
+	if ((IS_DGFX(i915) && DISPLAY_VER(i915) == 14) ||
+	    DISPLAY_VER(i915) > 14)
+		max_dotclock *= 4;
+
 	return max_dotclock;
 }
 
-- 
2.45.2



More information about the Intel-gfx-trybot mailing list