]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/hwconfig: Add DG2 support
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 31 Mar 2022 23:17:37 +0000 (16:17 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Sat, 16 Apr 2022 00:30:25 +0000 (17:30 -0700)
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>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220331231737.315957-1-jordan.l.justen@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c

index e0f65bdd1c84c45635a93b0eb353861e8dc91d7c..79c66b6b51a3f77fe7eebf9660e3685c32e3fc1d 100644 (file)
@@ -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;
 }