[Intel-gfx] [PATCH] drm/i915: Introduce an HAS_IPS() macro

2013-06-24 Thread Damien Lespiau
Follow the trend and don't code conditions with platforms but with features. Signed-off-by: Damien Lespiau damien.lesp...@intel.com --- drivers/gpu/drm/i915/i915_debugfs.c | 2 +- drivers/gpu/drm/i915/i915_drv.h | 2 ++ drivers/gpu/drm/i915/intel_display.c | 4 ++-- 3 files changed, 5

Re: [Intel-gfx] [PATCH] drm/i915: Introduce an HAS_IPS() macro

2013-06-24 Thread Daniel Vetter
On Mon, Jun 24, 2013 at 06:29:34PM +0100, Damien Lespiau wrote: Follow the trend and don't code conditions with platforms but with features. Signed-off-by: Damien Lespiau damien.lesp...@intel.com Queued for -next, thanks for the patch. -Daniel --- drivers/gpu/drm/i915/i915_debugfs.c | 2