drm/i915: don't send DP "idle" pattern before "normal" on HSW PORT_A
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 29 Jan 2013 18:35:18 +0000 (16:35 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 Jan 2013 10:50:10 +0000 (11:50 +0100)
commit10aa17c86f0de1fd902f7b8ee487a3682d7401df
treed2709feff4e1b2b7557c710de788c5b3cce3841e
parentd5f21e4072645d0174ed4cc7197e0e30f84f96a2
drm/i915: don't send DP "idle" pattern before "normal" on HSW PORT_A

The DP_TP_STATUS register for PORT_A doesn't exist. Our documentation
will be fixed soon, so the code does not match it for now.

This solves "Timed out waiting for DP idle patterns" and "unclaimed
register" messages on eDP.

V1: Was called "drm/i915: don't read DP_TP_STATUS(PORT_A)"
V2: Was called "drm/i915: don't send DP idle pattern before normal
pattern on HSW"
V3: Only change the code that touches PORT_A.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c