]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit099226be412fbe7cfb97712398328b7b14a20991
tree7f274fbd8a757d08947c8633a79b9ad4c6f85cae
parentce7cb7c38178696b22590818b64f406031a77436
drm/i915: export a CPT mode set verification function

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>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h