All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/dsi: Add PORT_TX_DW7 programming to DSI vswing sequence
@ 2018-12-14 18:06 clinton.a.taylor
  2018-12-14 18:15 ` ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: clinton.a.taylor @ 2018-12-14 18:06 UTC (permalink / raw)
  To: Intel-gfx; +Cc: Jani Nikula

From: Clint Taylor <clinton.a.taylor@intel.com>

Program PORT_TX_DW7 to the value specified in the DDI Buffer section of the
BSPEC.

BSEPC: 21257
Cc: Madhav Chauhan <madhav.chauhan@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com>
---
 drivers/gpu/drm/i915/icl_dsi.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/gpu/drm/i915/icl_dsi.c b/drivers/gpu/drm/i915/icl_dsi.c
index 4dd793b..f57aa0d 100644
--- a/drivers/gpu/drm/i915/icl_dsi.c
+++ b/drivers/gpu/drm/i915/icl_dsi.c
@@ -236,6 +236,16 @@ static void dsi_program_swing_and_deemphasis(struct intel_encoder *encoder)
 		tmp |= RCOMP_SCALAR(0x98);
 		I915_WRITE(ICL_PORT_TX_DW2_AUX(port), tmp);
 
+		tmp = I915_READ(ICL_PORT_TX_DW7_LN0(port));
+		tmp &= ~(N_SCALAR_MASK);
+		tmp |= N_SCALAR(0x7f);
+		I915_WRITE(ICL_PORT_TX_DW7_GRP(port), tmp);
+
+		tmp = I915_READ(ICL_PORT_TX_DW7_AUX(port));
+		tmp &= ~(N_SCALAR_MASK);
+		tmp |= N_SCALAR(0x7f);
+		I915_WRITE(ICL_PORT_TX_DW7_AUX(port), tmp);
+
 		tmp = I915_READ(ICL_PORT_TX_DW4_AUX(port));
 		tmp &= ~(POST_CURSOR_1_MASK | POST_CURSOR_2_MASK |
 			 CURSOR_COEFF_MASK);
-- 
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] 6+ messages in thread

end of thread, other threads:[~2018-12-16  2:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-14 18:06 [PATCH] drm/i915/dsi: Add PORT_TX_DW7 programming to DSI vswing sequence clinton.a.taylor
2018-12-14 18:15 ` ✗ Fi.CI.BAT: failure for " Patchwork
2018-12-14 19:34   ` Clint Taylor
2018-12-14 22:15     ` Rodrigo Vivi
2018-12-15  2:58 ` [PATCH] " kbuild test robot
2018-12-16  2:33 ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.