<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - SSEU status is all 0 on BXT"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103484#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - SSEU status is all 0 on BXT"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103484">bug 103484</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>