<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SKL] Bogus values reported (randomly) for GPU frequency requests in sysfs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92591">92591</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SKL] Bogus values reported (randomly) for GPU frequency requests in sysfs
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mika.kuoppala@intel.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eero.t.tamminen@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org, valtteri.rantala@intel.com
          </td>
        </tr>

        <tr>
          <th>i915 platform</th>
          <td>SKL
          </td>
        </tr>

        <tr>
          <th>i915 features</th>
          <td>power/Other
          </td>
        </tr></table>
      <p>
        <div>
        <pre>USE-CASE:

1. Start sampling kernel's GPU frequency request values:
   while true; do head /sys/class/drm/card0/gt_cur_freq_mhz; sleep 1; done

2. Run heavy GPU benchmark like Unigine Heaven, Lightsmark 2008, GfxBench 3.x
Manhattan.


EXPECTED OUTCOME:

* reported kernel GPU freq request is within min and max GPU frequencies


ACTUAL OUTCOME:

* On SKL-Y machine with supported GPU frequencies in 350-800 Mhz range,
gt_cur_freq_mhz sometimes reports values within this range, sometimes obviously
bogus higher ones (about 4x higher).  

* On SKL-i5 machine with supported GPU frequencies in 350-1150 Mhz range,
gt_cur_freq_mhz sometimes reports values within this range, sometimes obviously
bogus higher ones (about 3x higher).  


This issue has been visible in drm-intel-nightly kernels since we started
testing SKL devices.


Note: CAGF (gt_act_freq_mhz) value asked from GPU is always within the correct
MHz range.  (Sometimes it's not divisable with 50, like the requests, but
that's probably not an issue.)

Assigning to Mika as he said that that he might take a look at this at some
point.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>