diff options
author | 2014-05-16 19:40:22 +0300 | |
---|---|---|
committer | 2014-05-22 15:06:07 +0200 | |
commit | 56b80e1f0022e34f8f92aee867aa8982889cda00 (patch) | |
tree | 0306e2ee87e1f0fd138de0df12ea55f3141fc565 /drivers/gpu/drm/i915/intel_drv.h | |
parent | drm/i915: Check for FIFO underuns when disabling reporting on gmch platforms (diff) | |
download | linux-56b80e1f0022e34f8f92aee867aa8982889cda00.tar.gz linux-56b80e1f0022e34f8f92aee867aa8982889cda00.tar.bz2 linux-56b80e1f0022e34f8f92aee867aa8982889cda00.zip |
drm/i915: Check for FIFO underruns at the end of modeset on gmch
FIFO underruns don't generate interrupts on gmch platforms, so
if we want to know whether a modeset triggered FIFO underruns we
need to explicitly check for them.
As a modeset on one pipe could cause underruns on other pipes,
check for underruns on all pipes.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Thomas Wood <thomas.wood@intel.com>
[danvet: Fix up merge error, kudos to Ville for noticing it.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index a78eb75411c9..fe2533ba52a9 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -680,6 +680,7 @@ void bdw_disable_pm_irq(struct drm_i915_private *dev_priv, uint32_t mask); void intel_runtime_pm_disable_interrupts(struct drm_device *dev); void intel_runtime_pm_restore_interrupts(struct drm_device *dev); int intel_get_crtc_scanline(struct intel_crtc *crtc); +void i9xx_check_fifo_underruns(struct drm_device *dev); /* intel_crt.c */ |