drm/i915: export a CPT mode set verification function
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 11 Oct 2011 17:43:02 +0000 (10:43 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 21 Oct 2011 06:21:56 +0000 (23:21 -0700)
At the point where we check, we can't do much about the failure, but it
can aid debugging.  Note that the auto-train override bit will be reset
as part of normal mode setting with this patch if a pipe ever does get
stuck, but that's consistent with the workaround for CPT provided by the
hardware team.  This patch helped catch the fact that the pipe wasn't
running in the !composite sync FDI case on my IVB SDV, so has already
shown to be useful.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-By: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-By: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found