Commit e675b248 authored by Chaitanya Kumar Borah's avatar Chaitanya Kumar Borah Committed by Ankit Nautiyal
Browse files

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: default avatarChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Signed-off-by: default avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260202103731.357416-18-ankit.k.nautiyal@intel.com
parent 50f51687
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -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);
}