[Intel-gfx] [PATCH] drm/i915/hwconfig: Add DG2 support
John Harrison
john.c.harrison at intel.com
Tue Mar 29 22:49:38 UTC 2022
On 3/24/2022 17:21, Jordan Justen wrote:
> From: Rodrigo Vivi <rodrigo.vivi at intel.com>
>
> DG2 support for hwconfig tables varies by both SKU and stepping.
>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Signed-off-by: John Harrison <John.C.Harrison at Intel.com>
> Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
> Tested-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
> drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
> index e0f65bdd1c84..b34833cca44a 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
> @@ -96,6 +96,8 @@ static bool has_table(struct drm_i915_private *i915)
> {
> if (IS_ALDERLAKE_P(i915))
> return true;
> + if (IS_DG2_G11(i915) || IS_DG2_GRAPHICS_STEP(i915, G10, STEP_A2, STEP_FOREVER))
This should just be 'IS_DG2()'.
John.
> + return true;
>
> return false;
> }
More information about the Intel-gfx
mailing list