drm/i915/glk: Add a IS_GEN9_LP() macro
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 10 Nov 2016 15:23:09 +0000 (17:23 +0200)
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 1 Dec 2016 11:41:27 +0000 (13:41 +0200)
commit3e4274f86e73388025c1507c10e1a785eae44488
treeb7e14a4994b52696e05758a60c9188408f054ce3
parent8363e3c3947d0e22955f94a6a87e4f17ce5087b4
drm/i915/glk: Add a IS_GEN9_LP() macro

Broxton and Geminilake are both gen9lp platforms. To avoid adding
IS_GEMINILAKE() checks everywhere alongside the IS_BROXTON() ones, add a
IS_GEN9_LP() macro.

v2: Rename macro parameter to dev_priv. (Joonas)
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_pci.c