aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Summers <[email protected]>2019-10-24 12:51:20 -0700
committerLucas De Marchi <[email protected]>2019-10-25 13:54:00 -0700
commitd8203d398c0dca1b17922d096938b96c711f0367 (patch)
tree80ac9361c0cf3866f93316944d13f18d74e1264a
parentdc90fe3fd219c7693617ba09a9467e4aadc2e039 (diff)
drm/i915: add new gen12 dgfx platform macro
Add a new macro for GEN12 platforms to be grouped under dgfx feature set. Signed-off-by: Stuart Summers <[email protected]> Signed-off-by: Lucas De Marchi <[email protected]> Reviewed-by: José Roberto de Souza <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/i915/i915_pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index f9a3bfe68689..04307e111f57 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -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