]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Introduce INTEL_GEN_MASK
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 13 Sep 2017 11:52:54 +0000 (14:52 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Thu, 14 Sep 2017 08:15:52 +0000 (11:15 +0300)
commitfe52e597fdbfd1098d47bdf314a1974dac003227
tree698e8375d1cc83cf1bbaecaf31d2571fa83d97fb
parent0d0c279405ec8eb1171c5de1bc4256bb803df77f
drm/i915: Introduce INTEL_GEN_MASK

Split INTEL_GEN_MASK out of IS_GEN macro, and make it usable
within static declarations (unlike compound statements).

v2:
- s/combound/compound/ (Tvrtko)
- Fix whitespace (yes, we need automatic checkpatch.pl)

Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170913115255.13851-1-joonas.lahtinen@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h