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

Souza, Jose jose.souza at intel.com
Thu Oct 24 20:34:02 UTC 2019


On Thu, 2019-10-24 at 12:51 -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.

Reviewed-by: José Roberto de Souza <jose.souza at intel.com>

> 
> Signed-off-by: Stuart Summers <stuart.summers at intel.com>
> Signed-off-by: Lucas De Marchi <lucas.de.marchi at intel.com>
> ---
>  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
>  


More information about the Intel-gfx mailing list