public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/i915: Remove 10% cdclk guardband from BXT
@ 2015-10-27 13:23 ville.syrjala
  2015-10-27 13:23 ` [PATCH 2/3] drm/i915: Untangle .fdi_link_train() and cdclk function pointer assignments ville.syrjala
  2015-10-27 13:23 ` [PATCH 3/3] drm/i915: Share cdclk code for BDW and BXT ville.syrjala
  0 siblings, 2 replies; 7+ messages in thread
From: ville.syrjala @ 2015-10-27 13:23 UTC (permalink / raw)
  To: intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

BXT doesn't need any cdclk guardband, so don't use any.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index bc1907e..b8095be 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -5937,16 +5937,15 @@ static int broxton_calc_cdclk(struct drm_i915_private *dev_priv,
 {
 	/*
 	 * FIXME:
-	 * - remove the guardband, it's not needed on BXT
 	 * - set 19.2MHz bypass frequency if there are no active pipes
 	 */
-	if (max_pixclk > 576000*9/10)
+	if (max_pixclk > 576000)
 		return 624000;
-	else if (max_pixclk > 384000*9/10)
+	else if (max_pixclk > 384000)
 		return 576000;
-	else if (max_pixclk > 288000*9/10)
+	else if (max_pixclk > 288000)
 		return 384000;
-	else if (max_pixclk > 144000*9/10)
+	else if (max_pixclk > 144000)
 		return 288000;
 	else
 		return 144000;
-- 
2.4.10

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-30 17:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-27 13:23 [PATCH 1/3] drm/i915: Remove 10% cdclk guardband from BXT ville.syrjala
2015-10-27 13:23 ` [PATCH 2/3] drm/i915: Untangle .fdi_link_train() and cdclk function pointer assignments ville.syrjala
2015-10-27 13:23 ` [PATCH 3/3] drm/i915: Share cdclk code for BDW and BXT ville.syrjala
2015-10-27 13:43   ` Jani Nikula
2015-10-27 14:31     ` Ville Syrjälä
2015-10-30 16:06       ` Daniel Vetter
2015-10-30 17:32         ` Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox