Commit 9c652711 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Restore the kernel context after verifying the w/a

parent 909438bb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -538,6 +538,10 @@ static int __engines_verify_workarounds(struct intel_gt *gt)
			err = -EIO;
	}

	/* Flush and restore the kernel context for safety */
	if (intel_gt_wait_for_idle(gt, I915_GEM_IDLE_TIMEOUT) == -ETIME)
		err = -EIO;

	return err;
}