[Bug 103484] SSEU status is all 0 on BXT
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 27 15:39:04 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103484
--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
Oh hum:
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
index daf7a16a4ee2..53f01a87673e 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -4587,6 +4587,7 @@ static int i915_sseu_status(struct seq_file *m, void
*unused)
memset(&sseu, 0, sizeof(sseu));
intel_runtime_pm_get(dev_priv);
+ intel_uncore_forcewake_get(dev_priv, FORCEWAKE_ALL);
if (IS_CHERRYVIEW(dev_priv)) {
cherryview_sseu_device_status(dev_priv, &sseu);
@@ -4596,6 +4597,7 @@ static int i915_sseu_status(struct seq_file *m, void
*unused)
gen9_sseu_device_status(dev_priv, &sseu);
}
+ intel_uncore_forcewake_put(dev_priv, FORCEWAKE_ALL);
intel_runtime_pm_put(dev_priv);
i915_print_sseu_info(m, false, &sseu);
So while the registers may not need fw for read; the device does need to be
awake for the eu to be ungated.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20171027/1d131ba6/attachment.html>
More information about the intel-gfx-bugs
mailing list