diff options
| author | Rafael J. Wysocki <[email protected]> | 2015-12-04 14:01:02 +0100 | 
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2015-12-04 14:01:02 +0100 | 
| commit | c09c9dd2e9c732658c744a802101d5c34fedde22 (patch) | |
| tree | 89f930ede811e66e7a70761aaca079d779fed38a /drivers/gpu/drm/omapdrm/omap_irq.c | |
| parent | 727ae8be30b428082d3519817f4fb98b712d457d (diff) | |
| parent | 06bf403de344a8a0811ebd24992d2a08022c5225 (diff) | |
Merge branches 'acpi-pci' and 'pm-pci'
* acpi-pci:
  x86/PCI/ACPI: Fix regression caused by commit 4d6b4e69a245
* pm-pci:
  PCI / PM: Tune down retryable runtime suspend error messages
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
| -rw-r--r-- | drivers/gpu/drm/omapdrm/omap_irq.c | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c index 249c0330d6ce..60e1e8016708 100644 --- a/drivers/gpu/drm/omapdrm/omap_irq.c +++ b/drivers/gpu/drm/omapdrm/omap_irq.c @@ -134,7 +134,7 @@ int omap_irq_wait(struct drm_device *dev, struct omap_irq_wait *wait,  /**   * enable_vblank - enable vblank interrupt events   * @dev: DRM device - * @crtc: which irq to enable + * @pipe: which irq to enable   *   * Enable vblank interrupts for @crtc.  If the device doesn't have   * a hardware vblank counter, this routine should be a no-op, since @@ -144,13 +144,13 @@ int omap_irq_wait(struct drm_device *dev, struct omap_irq_wait *wait,   * Zero on success, appropriate errno if the given @crtc's vblank   * interrupt cannot be enabled.   */ -int omap_irq_enable_vblank(struct drm_device *dev, int crtc_id) +int omap_irq_enable_vblank(struct drm_device *dev, unsigned int pipe)  {  	struct omap_drm_private *priv = dev->dev_private; -	struct drm_crtc *crtc = priv->crtcs[crtc_id]; +	struct drm_crtc *crtc = priv->crtcs[pipe];  	unsigned long flags; -	DBG("dev=%p, crtc=%d", dev, crtc_id); +	DBG("dev=%p, crtc=%u", dev, pipe);  	spin_lock_irqsave(&list_lock, flags);  	priv->vblank_mask |= pipe2vbl(crtc); @@ -163,19 +163,19 @@ int omap_irq_enable_vblank(struct drm_device *dev, int crtc_id)  /**   * disable_vblank - disable vblank interrupt events   * @dev: DRM device - * @crtc: which irq to enable + * @pipe: which irq to enable   *   * Disable vblank interrupts for @crtc.  If the device doesn't have   * a hardware vblank counter, this routine should be a no-op, since   * interrupts will have to stay on to keep the count accurate.   */ -void omap_irq_disable_vblank(struct drm_device *dev, int crtc_id) +void omap_irq_disable_vblank(struct drm_device *dev, unsigned int pipe)  {  	struct omap_drm_private *priv = dev->dev_private; -	struct drm_crtc *crtc = priv->crtcs[crtc_id]; +	struct drm_crtc *crtc = priv->crtcs[pipe];  	unsigned long flags; -	DBG("dev=%p, crtc=%d", dev, crtc_id); +	DBG("dev=%p, crtc=%u", dev, pipe);  	spin_lock_irqsave(&list_lock, flags);  	priv->vblank_mask &= ~pipe2vbl(crtc); |