[Intel-gfx] [PATCH 12/12] drm/i915: Remove unused and unloved vblank macros

Jesse Barnes jbarnes at virtuousgeek.org
Wed Apr 25 22:55:24 CEST 2012


On Tue, 24 Apr 2012 22:59:52 +0100
Chris Wilson <chris at chris-wilson.co.uk> wrote:

> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
>  drivers/gpu/drm/i915/i915_irq.c |   11 -----------
>  1 file changed, 11 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
> index a1150b7..d3500c7 100644
> --- a/drivers/gpu/drm/i915/i915_irq.c
> +++ b/drivers/gpu/drm/i915/i915_irq.c
> @@ -37,17 +37,6 @@
>  #include "i915_trace.h"
>  #include "intel_drv.h"
>  
> -#define MAX_NOPID ((u32)~0)
> -
> -#define I915_PIPE_VBLANK_STATUS	(PIPE_START_VBLANK_INTERRUPT_STATUS |\
> -				 PIPE_VBLANK_INTERRUPT_STATUS)
> -
> -#define I915_PIPE_VBLANK_ENABLE	(PIPE_START_VBLANK_INTERRUPT_ENABLE |\
> -				 PIPE_VBLANK_INTERRUPT_ENABLE)
> -
> -#define DRM_I915_VBLANK_PIPE_ALL	(DRM_I915_VBLANK_PIPE_A | \
> -					 DRM_I915_VBLANK_PIPE_B)
> -
>  /* For display hotplug interrupt */
>  static void
>  ironlake_enable_display_irq(drm_i915_private_t *dev_priv, u32 mask)

Yay.

Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list