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>
此提交包含在:
Ander Conselvan de Oliveira
2016-11-10 17:23:09 +02:00
父節點 8363e3c394
當前提交 3e4274f86e
共有 2 個檔案被更改,包括 4 行新增0 行删除

查看文件

@@ -345,6 +345,7 @@ static const struct intel_device_info intel_skylake_gt3_info = {
#define GEN9_LP_FEATURES \
.gen = 9, \
.is_lp = 1, \
.has_hotplug = 1, \
.ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING, \
.num_pipes = 3, \