Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [VPG HSW-A] drm/i915: BUN vol4g[DevHSW]
@ 2013-08-26  5:44 Koushik Biswas
  2013-08-26 19:15 ` Paulo Zanoni
  0 siblings, 1 reply; 4+ messages in thread
From: Koushik Biswas @ 2013-08-26  5:44 UTC (permalink / raw)
  To: intel-gfx; +Cc: koushik

From: koushik <koushikx.biswas@intel.com>

WW43 2012 - DDI buffer translation corrections
WW36 2012 - Added HDMI voltage swing (not implemented
		for HDMI)

Added comments with voltage swing, pre-emphasis,
transition and non-transition values in form of table
for reference. This values are applicable only for HSW
platform.

Signed-off-by: koushik <koushikx.biswas@intel.com>
Change-Id: I0cff220c7d047f41b2a96b3e3880b4029550d458
---
 drivers/gpu/drm/i915/intel_ddi.c |   31 +++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_dp.c  |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index 5131517..0de236e 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -128,6 +128,37 @@ void intel_prepare_ddi(struct drm_device *dev)
 	intel_prepare_ddi_buffers(dev, PORT_E, true);
 }
 
+
+/* Updating the new table in comments as it doesn’t cause any logic change */
+
+/************* For HSW Voltage swing levels ***************************/
+/**********************************************************************/
+/*____________________________________________________________________*/
+/*|Entry|Voltage|Pre-emphasis|Non-Transition|Transition |Pre-emphasis|*/
+/*|     |Swing  |level       |mV diff p-p   |mV diff p-p|db          |*/
+/*|------------------------------------------------------------------|*/
+/*|0    |0      |0           |400           |400        |0           |*/
+/*|------------------------------------------------------------------|*/
+/*|1    |0      |1           |400           |600        |3.5         |*/
+/*|------------------------------------------------------------------|*/
+/*|2    |0      |2           |400           |800        |6           |*/
+/*|------------------------------------------------------------------|*/
+/*|3    |0      |3           |400           |1000       |8           |*/
+/*|------------------------------------------------------------------|*/
+/*|4    |1      |0           |600           |600        |0           |*/
+/*|------------------------------------------------------------------|*/
+/*|5    |1      |1           |600           |900        |3.5         |*/
+/*|------------------------------------------------------------------|*/
+/*|6    |1      |2           |600           |1000       |4.5         |*/
+/*|------------------------------------------------------------------|*/
+/*|7    |2      |0           |800           |800        |0           |*/
+/*|------------------------------------------------------------------|*/
+/*|8    |2      |1           |1000          |1000       |2           |*/
+/*|------------------------------------------------------------------|*/
+/*|9    |       Entry 9 is only used for HDMI and DVI                |*/
+/*|------------------------------------------------------------------|*/
+/**********************************************************************/
+
 static const long hsw_ddi_buf_ctl_values[] = {
 	DDI_BUF_EMP_400MV_0DB_HSW,
 	DDI_BUF_EMP_400MV_3_5DB_HSW,
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 9fd7f90..fa73fb1 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1809,6 +1809,38 @@ intel_gen7_edp_signal_levels(uint8_t train_set)
 	}
 }
 
+
+/* Updating the new table in comments as it doesn’t cause any logic change */
+
+/************* For HSW Voltage swing levels ***************************/
+/**********************************************************************/
+/*____________________________________________________________________*/
+/*|Entry|Voltage|Pre-emphasis|Non-Transition|Transition |Pre-emphasis|*/
+/*|     |Swing  |level       |mV diff p-p   |mV diff p-p|db          |*/
+/*|------------------------------------------------------------------|*/
+/*|0    |0      |0           |400           |400        |0           |*/
+/*|------------------------------------------------------------------|*/
+/*|1    |0      |1           |400           |600        |3.5         |*/
+/*|------------------------------------------------------------------|*/
+/*|2    |0      |2           |400           |800        |6           |*/
+/*|------------------------------------------------------------------|*/
+/*|3    |0      |3           |400           |1000       |8           |*/
+/*|------------------------------------------------------------------|*/
+/*|4    |1      |0           |600           |600        |0           |*/
+/*|------------------------------------------------------------------|*/
+/*|5    |1      |1           |600           |900        |3.5         |*/
+/*|------------------------------------------------------------------|*/
+/*|6    |1      |2           |600           |1000       |4.5         |*/
+/*|------------------------------------------------------------------|*/
+/*|7    |2      |0           |800           |800        |0           |*/
+/*|------------------------------------------------------------------|*/
+/*|8    |2      |1           |1000          |1000       |2           |*/
+/*|------------------------------------------------------------------|*/
+/*|9    |       Entry 9 is only used for HDMI and DVI                |*/
+/*|------------------------------------------------------------------|*/
+/**********************************************************************/
+
+
 /* Gen7.5's (HSW) DP voltage swing and pre-emphasis control */
 static uint32_t
 intel_hsw_signal_levels(uint8_t train_set)
-- 
1.7.9.5

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

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

end of thread, other threads:[~2013-08-27  9:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-26  5:44 [PATCH] [VPG HSW-A] drm/i915: BUN vol4g[DevHSW] Koushik Biswas
2013-08-26 19:15 ` Paulo Zanoni
2013-08-27  5:27   ` Biswas, KoushikX
2013-08-27  9:06     ` Daniel Vetter

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