mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-21 04:00:13 +01:00
i915: A few whitespace cleanups.
This commit is contained in:
parent
04d94197e6
commit
a44b4ca820
1 changed files with 6 additions and 6 deletions
|
|
@ -201,7 +201,7 @@ irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS)
|
||||||
new_iir = I915_READ(IIR);
|
new_iir = I915_READ(IIR);
|
||||||
|
|
||||||
DRM_DEBUG("iir = 0x%08x, pipestats a = 0x%08x, b = 0x%08x\n",
|
DRM_DEBUG("iir = 0x%08x, pipestats a = 0x%08x, b = 0x%08x\n",
|
||||||
iir, pipea_stats, pipeb_stats);
|
iir, pipea_stats, pipeb_stats);
|
||||||
|
|
||||||
if (dev_priv->sarea_priv)
|
if (dev_priv->sarea_priv)
|
||||||
dev_priv->sarea_priv->last_dispatch =
|
dev_priv->sarea_priv->last_dispatch =
|
||||||
|
|
@ -215,15 +215,15 @@ irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pipea_stats & (PIPE_START_VBLANK_INTERRUPT_STATUS |
|
if (pipea_stats & (PIPE_START_VBLANK_INTERRUPT_STATUS |
|
||||||
PIPE_VBLANK_INTERRUPT_STATUS))
|
PIPE_VBLANK_INTERRUPT_STATUS))
|
||||||
drm_handle_vblank(dev, 0);
|
drm_handle_vblank(dev, 0);
|
||||||
|
|
||||||
if (pipeb_stats & (PIPE_START_VBLANK_INTERRUPT_STATUS |
|
if (pipeb_stats & (PIPE_START_VBLANK_INTERRUPT_STATUS |
|
||||||
PIPE_VBLANK_INTERRUPT_STATUS))
|
PIPE_VBLANK_INTERRUPT_STATUS))
|
||||||
drm_handle_vblank(dev, 1);
|
drm_handle_vblank(dev, 1);
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
if ((pipeb_stats & I915_LEGACY_BLC_EVENT_STATUS) ||
|
if ((pipeb_stats & I915_LEGACY_BLC_EVENT_STATUS) ||
|
||||||
(iir & I915_ASLE_INTERRUPT))
|
(iir & I915_ASLE_INTERRUPT))
|
||||||
opregion_asle_intr(dev);
|
opregion_asle_intr(dev);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue