[PATCH 1/1] TGL,RKL,ADL - no-reloc

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Thu Oct 21 11:56:59 UTC 2021


---
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
index 9c323666bd7c..bbcad63fa09c 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
@@ -492,14 +492,7 @@ eb_unreserve_vma(struct eb_vma *ev)
 
 static bool platform_has_relocs_enabled(const struct i915_execbuffer *eb)
 {
-	/*
-	 * Relocations are disallowed starting from gen12 with Tigerlake
-	 * as an exception. To unblock CI, we are temporarily allowing it
-	 * for Rocketlake and Alderlake.
-	 */
-	if (GRAPHICS_VER(eb->i915) < 12 || IS_TIGERLAKE(eb->i915) ||
-	    IS_ROCKETLAKE(eb->i915) || IS_ALDERLAKE_S(eb->i915) ||
-	    IS_ALDERLAKE_P(eb->i915))
+	if (GRAPHICS_VER(eb->i915) < 12)
 		return true;
 
 	return false;
-- 
2.26.0



More information about the Intel-gfx-trybot mailing list