drm/i915: add new gen12 dgfx platform macro
authorStuart Summers <stuart.summers@intel.com>
Thu, 24 Oct 2019 19:51:20 +0000 (12:51 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 25 Oct 2019 20:54:00 +0000 (13:54 -0700)
Add a new macro for GEN12 platforms to be grouped under dgfx feature
set.

Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191024195122.22877-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_pci.c

index f9a3bfe..04307e1 100644 (file)
@@ -822,6 +822,10 @@ static const struct intel_device_info intel_tigerlake_12_info = {
        .has_rps = false, /* XXX disabled for debugging */
 };
 
+#define GEN12_DGFX_FEATURES \
+       GEN12_FEATURES, \
+       .is_dgfx = 1
+
 #undef GEN
 #undef PLATFORM