[PATCH 1/1] gem/execbuffer: Disable relocs on TGL

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Mon Jun 14 06:54:22 UTC 2021


Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
---
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
index a8abc9af5ff4..dcc4da1845b8 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
@@ -499,8 +499,7 @@ eb_validate_vma(struct i915_execbuffer *eb,
 	/* Relocations are disallowed for all platforms after TGL-LP.  This
 	 * also covers all platforms with local memory.
 	 */
-	if (entry->relocation_count &&
-	    GRAPHICS_VER(eb->i915) >= 12 && !IS_TIGERLAKE(eb->i915))
+	if (entry->relocation_count && GRAPHICS_VER(eb->i915) >= 12)
 		return -EINVAL;
 
 	if (unlikely(entry->flags & eb->invalid_flags))
-- 
2.26.0



More information about the Intel-gfx-trybot mailing list