aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>2022-05-23 13:21:16 +0530
committerMatt Roper <matthew.d.roper@intel.com>2022-05-24 16:52:51 -0700
commit837c72b23a57e15dd363d5f3f3f268c49c128740 (patch)
tree06aacef898463de0a18bef01607b2d42255bc614
parentdrm/i915/guc: XEHPSDV and PVC do not use HuC (diff)
downloadwireguard-linux-837c72b23a57e15dd363d5f3f3f268c49c128740.tar.xz
wireguard-linux-837c72b23a57e15dd363d5f3f3f268c49c128740.zip
drm/i915/hwconfig: Report no hwconfig support on ADL-N
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
-rw-r--r--drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c2
1 files changed, 1 insertions, 1 deletions
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 79c66b6b51a3..5aaa3948de74 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
@@ -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;