The move to softpin in igt is ongoing and should land soon.
Meanwhile, like was done for ADL and RKL, add an exception to allow
running the igt display tests before that conversion is complete
so we can unblock CI.

Cc: Zbigniew Kempczynski <zbigniew.kempczyn...@intel.com>
Cc: Dave Airlie <airl...@redhat.com>
Cc: Daniel Vetter <daniel.vet...@intel.com>
Cc: Jason Ekstrand <ja...@jlekstrand.net>
Cc: Rodrigo Vivi <rodrigo.v...@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demar...@intel.com>
---
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 
b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
index f8f07d0bd83b..85f4808957b9 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
@@ -504,7 +504,7 @@ static bool platform_has_relocs_enabled(const struct 
i915_execbuffer *eb)
         */
        if (GRAPHICS_VER(eb->i915) < 12 || IS_TIGERLAKE(eb->i915) ||
            IS_ROCKETLAKE(eb->i915) || IS_ALDERLAKE_S(eb->i915) ||
-           IS_ALDERLAKE_P(eb->i915))
+           IS_ALDERLAKE_P(eb->i915) || IS_DG2(eb->i915))
                return true;
 
        return false;
-- 
2.35.1

Reply via email to