[Intel-gfx] [PATCH 2/4] drm/i915: add new gen12 dgfx platform macro

Lucas De Marchi lucas.demarchi at intel.com
Thu Oct 24 19:55:44 UTC 2019


On Thu, Oct 24, 2019 at 12:51:20PM -0700, Lucas De Marchi wrote:
>From: Stuart Summers <stuart.summers at intel.com>
>
>Add a new macro for GEN12 platforms to be grouped under dgfx feature
>set.
>
>Signed-off-by: Stuart Summers <stuart.summers at intel.com>
>Signed-off-by: Lucas De Marchi <lucas.de.marchi at intel.com>

this should actually be

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>


Lucas De Marchi

>---
> drivers/gpu/drm/i915/i915_pci.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
>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
>
>-- 
>2.23.0
>


More information about the Intel-gfx mailing list