Re: [Intel-gfx] [PATCH 6/6] drm/i915: use platform enum instead of duplicating PCI ID if possible

2016-12-01 Thread Joonas Lahtinen
On ke, 2016-11-30 at 17:43 +0200, Jani Nikula wrote: > Duplicating the PCI ID for IS_FOO checks is redundant for a bunch of > platforms. Simplify. > > Signed-off-by: Jani Nikula This should do pure good when optimizing the checks. Reviewed-by: Joonas Lahtinen Regards, Joonas -- Joonas Lahtin

[Intel-gfx] [PATCH 6/6] drm/i915: use platform enum instead of duplicating PCI ID if possible

2016-11-30 Thread Jani Nikula
Duplicating the PCI ID for IS_FOO checks is redundant for a bunch of platforms. Simplify. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_drv.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.