[Mesa-dev] [PATCH 1/5] i915: Remove unused IS_MOBILE macro

Jordan Justen jordan.l.justen at intel.com
Fri Mar 6 08:50:50 PST 2015


Series Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

On 2015-03-05 11:49:54, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> Inspired by Damien's recent libdrm changes.
> 
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Cc: Damien Lespiau <damien.lespiau at intel.com>
> ---
>  src/mesa/drivers/dri/i915/intel_chipset.h | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i915/intel_chipset.h b/src/mesa/drivers/dri/i915/intel_chipset.h
> index 3828085..d05fd08 100644
> --- a/src/mesa/drivers/dri/i915/intel_chipset.h
> +++ b/src/mesa/drivers/dri/i915/intel_chipset.h
> @@ -53,16 +53,6 @@
>  #define IS_PNVG(devid) (devid == PCI_CHIP_PNV_G)
>  #define IS_PNV(devid) (IS_PNVG(devid) || IS_PNVGM(devid))
>  
> -#define IS_MOBILE(devid)       (devid == PCI_CHIP_I855_GM || \
> -                                devid == PCI_CHIP_I915_GM || \
> -                                devid == PCI_CHIP_I945_GM || \
> -                                devid == PCI_CHIP_I945_GME || \
> -                                devid == PCI_CHIP_I965_GM || \
> -                                devid == PCI_CHIP_I965_GME || \
> -                                devid == PCI_CHIP_GM45_GM || \
> -                                IS_PNV(devid) || \
> -                                devid == PCI_CHIP_ILM_G)
> -
>  #define IS_915(devid)          (devid == PCI_CHIP_I915_G || \
>                                  devid == PCI_CHIP_E7221_G || \
>                                  devid == PCI_CHIP_I915_GM)
> -- 
> 2.1.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list