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

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Thu Jul 29 10:56:16 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 1ed7475de454..8d3c19f06eef 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
@@ -490,14 +490,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