diff mbox series

[v2] drm/i915/hwconfig: Add DG2 support

Message ID 20220331231737.315957-1-jordan.l.justen@intel.com (mailing list archive)
State New, archived
Headers show
Series [v2] drm/i915/hwconfig: Add DG2 support | expand

Commit Message

Jordan Justen March 31, 2022, 11:17 p.m. UTC
From: Rodrigo Vivi <rodrigo.vivi@intel.com>

v2:
 * Jordan: Drop stepping/skew checking as suggested by John.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Tested-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
---
 drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

John Harrison April 16, 2022, 12:11 a.m. UTC | #1
On 3/31/2022 16:17, Jordan Justen wrote:
> From: Rodrigo Vivi <rodrigo.vivi@intel.com>
>
> v2:
>   * Jordan: Drop stepping/skew checking as suggested by John.
>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
> Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
> Tested-by: Jordan Justen <jordan.l.justen@intel.com>
> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Apologies for the delay, missed this one going past!

Reviewed-by: John Harrison <John.C.Harrison@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..79c66b6b51a3 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(i915))
> +		return true;
>   
>   	return false;
>   }
diff mbox series

Patch

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..79c66b6b51a3 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(i915))
+		return true;
 
 	return false;
 }