summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>2026-02-02 16:07:31 +0530
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>2026-02-03 13:47:14 +0530
commite675b248278c784b0de50ff95586965bbba7372e (patch)
tree9433526e2f79e03155429f4c1be0ec127fc492c1 /drivers/gpu
parent50f5168775685f78e4492fcc69dc10d288c579d0 (diff)
drm/i915/display: Extend the max dotclock limit to WCL
Add upper limit check for pixel clock for WCL. For prior platforms though the bspec mentions the dotclock limits, however these are intentionally not enforced to avoid regressions, unless real issues are observed. BSpec: 49199, 68912 Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> Link: https://patch.msgid.link/20260202103731.357416-18-ankit.k.nautiyal@intel.com
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/display/intel_display.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 4f5f64e22cb5..564d11925af3 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -8031,8 +8031,16 @@ int intel_max_uncompressed_dotclock(struct intel_display *display)
int max_dotclock = display->cdclk.max_dotclk_freq;
int limit = max_dotclock;
- if (DISPLAY_VER(display) >= 30)
+ if (DISPLAY_VERx100(display) == 3002)
+ limit = 937500;
+ else if (DISPLAY_VER(display) >= 30)
limit = 1350000;
+ /*
+ * Note: For other platforms though there are limits given
+ * in the Bspec, however the limit is intentionally not
+ * enforced to avoid regressions, unless real issues are
+ * observed.
+ */
return min(max_dotclock, limit);
}