drm/i915/hwconfig: Report no hwconfig support on ADL-N
authorBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Mon, 23 May 2022 07:51:16 +0000 (13:21 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 24 May 2022 23:52:51 +0000 (16:52 -0700)
ADL-N being a subplatform of ADL-P, it lacks support for hwconfig
table. Explicit check added to skip ADL-N.

Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220523075116.207677-1-balasubramani.vivekanandan@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c

index 79c66b6b51a3f77fe7eebf9660e3685c32e3fc1d..5aaa3948de74137ce8fe92e63a102862f63c0e76 100644 (file)
@@ -94,7 +94,7 @@ static int guc_hwconfig_fill_buffer(struct intel_guc *guc, struct intel_hwconfig
 
 static bool has_table(struct drm_i915_private *i915)
 {
-       if (IS_ALDERLAKE_P(i915))
+       if (IS_ALDERLAKE_P(i915) && !IS_ADLP_N(i915))
                return true;
        if (IS_DG2(i915))
                return true;