mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-21 01:40:11 +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
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interrupts that are always left unmasked.
|
* Interrupts that are always left unmasked.
|
||||||
*
|
*
|
||||||
* Since pipe events are edge-triggered from the PIPESTAT register to IIR,
|
* Since pipe events are edge-triggered from the PIPESTAT register to IIR,
|
||||||
* we leave them always unmasked in IMR and then control enabling them through
|
* we leave them always unmasked in IMR and then control enabling them through
|
||||||
* PIPESTAT alone.
|
* PIPESTAT alone.
|
||||||
|
|
@ -108,7 +108,7 @@ i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask)
|
||||||
(void) I915_READ(reg);
|
(void) I915_READ(reg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* i915_pipe_enabled - check if a pipe is enabled
|
* i915_pipe_enabled - check if a pipe is enabled
|
||||||
* @dev: DRM device
|
* @dev: DRM device
|
||||||
|
|
@ -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