[Intel-gfx] [PATCH 3/3] drm/i915/guc: sleep on enable

Chris Wilson chris at chris-wilson.co.uk
Sun Oct 14 17:02:02 UTC 2018


Seems like there's a missing ack before the guc is ready for commands.

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
---
 drivers/gpu/drm/i915/intel_guc_submission.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_guc_submission.c b/drivers/gpu/drm/i915/intel_guc_submission.c
index fb0499f80b62..b7fd3422cb28 100644
--- a/drivers/gpu/drm/i915/intel_guc_submission.c
+++ b/drivers/gpu/drm/i915/intel_guc_submission.c
@@ -1307,6 +1307,8 @@ int intel_guc_submission_enable(struct intel_guc *guc)
 
 	GEM_BUG_ON(!guc->execbuf_client);
 
+	usleep_range(1000, 10000);
+
 	err = intel_guc_sample_forcewake(guc);
 	if (err)
 		return err;
-- 
2.19.1



More information about the Intel-gfx mailing list