All of lore.kernel.org
 help / color / mirror / Atom feed
* [CI v2 1/2] drm/i915/guc: Update GuC power domain states
@ 2018-09-10 10:41 Michal Wajdeczko
  2018-09-10 10:41 ` [CI v2 2/2] HAX Switch off GuC submission even if explicitly enabled Michal Wajdeczko
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Michal Wajdeczko @ 2018-09-10 10:41 UTC (permalink / raw)
  To: intel-gfx

We should update GuC power domain states also when GuC submission
is disabled, otherwise GuC might complain or ignore our requests.
This seems to be required for all currently released GuC firmwares.

v2: it is only needed by pre-Gen11 firmwares

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: John Spotswood <john.a.spotswood@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Tomasz Lis <tomasz.lis@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
---
 drivers/gpu/drm/i915/intel_uc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_uc.c b/drivers/gpu/drm/i915/intel_uc.c
index 7c95697..b1b3e81 100644
--- a/drivers/gpu/drm/i915/intel_uc.c
+++ b/drivers/gpu/drm/i915/intel_uc.c
@@ -401,6 +401,10 @@ int intel_uc_init_hw(struct drm_i915_private *i915)
 		ret = intel_guc_submission_enable(guc);
 		if (ret)
 			goto err_communication;
+	} else if (INTEL_GEN(i915) < 11) {
+		ret = intel_guc_sample_forcewake(guc);
+		if (ret)
+			goto err_communication;
 	}
 
 	dev_info(i915->drm.dev, "GuC firmware version %u.%u\n",
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-09-11  8:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-10 10:41 [CI v2 1/2] drm/i915/guc: Update GuC power domain states Michal Wajdeczko
2018-09-10 10:41 ` [CI v2 2/2] HAX Switch off GuC submission even if explicitly enabled Michal Wajdeczko
2018-09-10 15:12 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,v2,1/2] drm/i915/guc: Update GuC power domain states Patchwork
2018-09-10 15:30 ` ✗ Fi.CI.BAT: failure " Patchwork
2018-09-10 15:34 ` [CI v2 1/2] " Chris Wilson
2018-09-11  8:08   ` Chris Wilson
2018-09-10 16:39 ` Srivatsa, Anusha
2018-09-10 19:37   ` Chris Wilson
2018-09-10 17:07 ` ✓ Fi.CI.BAT: success for series starting with [CI,v2,1/2] " Patchwork
2018-09-10 19:14 ` ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.