[PATCH 31/32] HACK: Always finalize contexts

Jason Ekstrand jason at jlekstrand.net
Fri Jun 25 16:15:05 UTC 2021


Only for verifying the previous patch with I-G-T.  DO NOT MERGE!
---
 drivers/gpu/drm/i915/gem/i915_gem_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_context.c b/drivers/gpu/drm/i915/gem/i915_gem_context.c
index 7d6f52d8a8012..9395d9d7f9530 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_context.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_context.c
@@ -1996,7 +1996,7 @@ int i915_gem_context_create_ioctl(struct drm_device *dev, void *data,
 			goto err_pc;
 	}
 
-	if (GRAPHICS_VER(i915) > 12) {
+	if (1 || (GRAPHICS_VER(i915) > 12)) {
 		struct i915_gem_context *ctx;
 
 		/* Get ourselves a context ID */
-- 
2.31.1



More information about the Intel-gfx-trybot mailing list