drm/i915/dp: Don't turn CPT DP ports on too early
authorAdam Jackson <ajax@redhat.com>
Thu, 21 Jul 2011 21:48:38 +0000 (17:48 -0400)
committerKeith Packard <keithp@keithp.com>
Mon, 25 Jul 2011 22:19:19 +0000 (15:19 -0700)
commite85194641bec56179dcf5e1704ce5c6bf30340c6
tree0c3f8b1c049d2dfeaeb2c3221980c9c6a23a212d
parent81055854d096959898fdc17ed11729eb019eff07
drm/i915/dp: Don't turn CPT DP ports on too early

The docs say the port has to come on in training pattern 1; at this
point, though, ->DP is in normal mode.  The intent here is to wait
until the port is in fact sending data, but that doesn't happen since
we've broken the sequence the hardware expects, and the vblank wait will
time out and kvetch in the log.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_dp.c