diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-10-11 19:43:02 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-10-21 08:21:56 +0200 |
commit | d4270e57efe9e2536798c59e1ed2fd0a1e5cdfcf (patch) | |
tree | 7f274fbd8a757d08947c8633a79b9ad4c6f85cae /drivers/gpu/drm/i915/intel_drv.h | |
parent | drm/i915: fix transcoder PLL select masking (diff) | |
download | linux-d4270e57efe9e2536798c59e1ed2fd0a1e5cdfcf.tar.xz linux-d4270e57efe9e2536798c59e1ed2fd0a1e5cdfcf.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 5829854ecbf6..51b1d752940b 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -382,4 +382,6 @@ extern void intel_fb_restore_mode(struct drm_device *dev); extern void intel_init_clock_gating(struct drm_device *dev); extern void intel_write_eld(struct drm_encoder *encoder, struct drm_display_mode *mode); +extern void intel_cpt_verify_modeset(struct drm_device *dev, int pipe); + #endif /* __INTEL_DRV_H__ */ |