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

Damien Lespiau damien.lespiau at intel.com
Fri Mar 6 06:55:14 PST 2015


On Thu, Mar 05, 2015 at 11:49:54AM -0800, 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>

For the whole series (not that my r-b tag has a lot of value on the mesa
code base):

Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>

-- 
Damien

> ---
>  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
> 


More information about the mesa-dev mailing list