<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 - [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109650">109650</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected]
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux (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/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Dieter@nuetzel-hh.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Polaris 20

Idle power went up from ~32 W to ~96 W.

With broken commits:

amdgpu-pci-0100
Adapter: PCI adapter
vddgfx:       +1.20 V  
fan1:         888 RPM  (min =    0 RPM, max = 3200 RPM)
temp1:        +55.0°C  (crit = +94.0°C, hyst = -273.1°C)
power1:       96.04 W  (cap = 175.00 W)

Bisected to:

764c85fef41722db0f21558c6c2fb38bee172d19 is the first bad commit
commit 764c85fef41722db0f21558c6c2fb38bee172d19
Author: Yong Zhao <<a href="mailto:Yong.Zhao@amd.com">Yong.Zhao@amd.com</a>>
Date:   Tue Feb 5 15:17:40 2019 -0500

    drm/amdgpu: Fix bugs in setting CP RB/MEC DOORBELL_RANGE registers

    CP_RB_DOORBELL_RANGE_LOWER/UPPER and CP_MEC_DOORBELL_RANGE_LOWER/UPPER
    are used for waking up an idle scheduler and for power gating support.
    Usually the first few doorbells in pci doorbell bar are used for RB
    and all leftover for MEC. This patch fixes the incorrect settings.

    Theoretically, gfx ring doorbells should come before all MEC doorbells
    to be consistent with the design. However, since the doorbell
    allocations are agreed by all and we are not free to change them, also
    considering the kernel MEC ring doorbells which are before gfx ring
    doorbells are not used often, we compromise by leaving the doorbell
    allocations unchanged.

    Change-Id: I402a56ce9a80e6c2ed2f96be431ae71ca88e73a4
    Signed-off-by: Yong Zhao <<a href="mailto:Yong.Zhao@amd.com">Yong.Zhao@amd.com</a>>
    Reviewed-by: Felix Kuehling <<a href="mailto:Felix.Kuehling@amd.com">Felix.Kuehling@amd.com</a>>

:040000 040000 a5747a6be3d388ae851855eebe7ebbf20488ba22
7b516291deb849c593199a4c8df3ad08c5b7a769 M drivers

After reverting both related commits from current
amd-staging-drm-next (256445aee13f)

9affde0e44af (HEAD -> amd-staging-drm-next) Revert "drm/amdgpu: Fix bugs in
setting CP RB/MEC DOORBELL_RANGE registers"
8e73059158d8 Revert "drm/amdgpu: Delete user queue doorbell variables"
256445aee13f (origin/amd-staging-drm-next) drm/amdgpu: remove some old unused
dpm helpers

I get these numbers, again (somewhat higher then Win... as some other pointed
out):

amdgpu-pci-0100
Adapter: PCI adapter
vddgfx:       +0.75 V  
fan1:         900 RPM  (min =    0 RPM, max = 3200 RPM)
temp1:        +30.0°C  (crit = +94.0°C, hyst = -273.1°C)
power1:       32.16 W  (cap = 175.00 W)</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>