public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/i915/cnl: Add allowed DP rates for Cannonlake.
@ 2017-07-06 20:54 Rodrigo Vivi
  2017-07-06 20:54 ` [PATCH 2/3] drm/i915/cnl: Dump the right pll registers when dumping pipe config Rodrigo Vivi
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Rodrigo Vivi @ 2017-07-06 20:54 UTC (permalink / raw)
  To: intel-gfx; +Cc: Rodrigo Vivi

One warning is that in order to get DPLL Link rates
3240 and 4050 that allows 648000 and 810000 is that:
"Some SKUs may require elevated I/O voltage to support
this."

v2: Rebase on top of source_rates changes.

Cc: Clint Taylor <clinton.a.taylor@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/i915/intel_dp.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 2d42d09..4355bdf 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -97,6 +97,9 @@ struct dp_link_dpll {
 				  324000, 432000, 540000 };
 static const int skl_rates[] = { 162000, 216000, 270000,
 				  324000, 432000, 540000 };
+static const int cnl_rates[] = { 162000, 216000, 270000,
+				 324000, 432000, 540000,
+				 648000, 810000 };
 static const int default_rates[] = { 162000, 270000, 540000 };
 
 /**
@@ -238,6 +241,9 @@ int intel_dp_max_lane_count(struct intel_dp *intel_dp)
 	if (IS_GEN9_LP(dev_priv)) {
 		source_rates = bxt_rates;
 		size = ARRAY_SIZE(bxt_rates);
+	} else if (IS_CANNONLAKE(dev_priv)) {
+		source_rates = cnl_rates;
+		size = ARRAY_SIZE(cnl_rates);
 	} else if (IS_GEN9_BC(dev_priv)) {
 		source_rates = skl_rates;
 		size = ARRAY_SIZE(skl_rates);
-- 
1.9.1

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

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

end of thread, other threads:[~2017-08-17 18:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-06 20:54 [PATCH 1/3] drm/i915/cnl: Add allowed DP rates for Cannonlake Rodrigo Vivi
2017-07-06 20:54 ` [PATCH 2/3] drm/i915/cnl: Dump the right pll registers when dumping pipe config Rodrigo Vivi
2017-08-10 11:44   ` Mika Kahola
2017-07-06 20:54 ` [PATCH 3/3] drm/i915/cnl: Avoid old DDI translation functions on Cannonlake Rodrigo Vivi
2017-08-17 12:59   ` Mika Kahola
2017-08-17 18:50     ` Vivi, Rodrigo
2017-07-06 22:34 ` ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915/cnl: Add allowed DP rates for Cannonlake Patchwork
2017-08-09 20:00 ` [PATCH 1/3] " Rodrigo Vivi
2017-08-10  9:55 ` Mika Kahola
2017-08-10 22:40   ` [PATCH] " Rodrigo Vivi
2017-08-11  0:19     ` Manasi Navare
2017-08-11 18:44       ` Rodrigo Vivi
2017-08-11  8:47 ` ✓ Fi.CI.BAT: success for series starting with drm/i915/cnl: Add allowed DP rates for Cannonlake. (rev2) Patchwork

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