All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected]
@ 2019-02-15 23:42 bugzilla-daemon
       [not found] ` <bug-109650-502-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-02-15 23:42 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2865 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109650

            Bug ID: 109650
           Summary: [amd-staging-drm-next] - Polaris 20 dc - idle power
                    regession 3x [bisected]
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: Dieter@nuetzel-hh.de

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 <Yong.Zhao@amd.com>
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 <Yong.Zhao@amd.com>
    Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>

: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)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4354 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Fw: [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected]
       [not found] ` <bug-109650-502-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2019-02-16 23:41   ` Dieter Nützel
  0 siblings, 0 replies; 6+ messages in thread
From: Dieter Nützel @ 2019-02-16 23:41 UTC (permalink / raw)
  To: Zhao, Yong; +Cc: amd-devel

Hello Yong,

this was your commit ;-)

Greetings,
Dieter

-------- Originalnachricht --------
Betreff: [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle 
power regession 3x [bisected]
Datum: 16.02.2019 00:42
Von: bugzilla-daemon@freedesktop.org
An: dri-devel@lists.freedesktop.org

  		BUG ID
  		109650 [1]

  		SUMMARY
  		[amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x
[bisected]

  		PRODUCT
  		DRI

  		VERSION
  		DRI git

  		HARDWARE
  		x86-64 (AMD64)

  		OS
  		Linux (All)

  		STATUS
  		NEW

  		SEVERITY
  		normal

  		PRIORITY
  		medium

  		COMPONENT
  		DRM/AMDgpu

  		ASSIGNEE
  		dri-devel@lists.freedesktop.org

  		REPORTER
  		Dieter@nuetzel-hh.de

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 <Yong.Zhao@amd.com>
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 <Yong.Zhao@amd.com>
     Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>

: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)

-------------------------
  You are receiving this mail because:

  	* You are the assignee for the bug.



Links:
------
[1] https://bugs.freedesktop.org/show_bug.cgi?id=109650
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

* [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected]
  2019-02-15 23:42 [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected] bugzilla-daemon
       [not found] ` <bug-109650-502-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2019-02-19 12:53 ` bugzilla-daemon
  2019-02-20  1:16 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-02-19 12:53 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 296 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109650

--- Comment #1 from tempel.julian@gmail.com ---
I can confirm this with RX 580, /sys/kernel/debug/dri/0/amdgpu_pm_info also
shows a constant GPU usage of 100%.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1119 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected]
  2019-02-15 23:42 [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected] bugzilla-daemon
       [not found] ` <bug-109650-502-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2019-02-19 12:53 ` bugzilla-daemon
@ 2019-02-20  1:16 ` bugzilla-daemon
  2019-02-20  2:17 ` bugzilla-daemon
  2019-02-20  2:18 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-02-20  1:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 212 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109650

--- Comment #2 from Alex Deucher <alexdeucher@gmail.com> ---
Patch reverted.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1049 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected]
  2019-02-15 23:42 [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected] bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-02-20  1:16 ` bugzilla-daemon
@ 2019-02-20  2:17 ` bugzilla-daemon
  2019-02-20  2:18 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-02-20  2:17 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 535 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109650

Dieter Nützel <Dieter@nuetzel-hh.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Dieter Nützel <Dieter@nuetzel-hh.de> ---
The relevant 2 commits are reverted.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2119 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected]
  2019-02-15 23:42 [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected] bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-02-20  2:17 ` bugzilla-daemon
@ 2019-02-20  2:18 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-02-20  2:18 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 374 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109650

Dieter Nützel <Dieter@nuetzel-hh.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1118 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-02-20  2:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-15 23:42 [Bug 109650] [amd-staging-drm-next] - Polaris 20 dc - idle power regession 3x [bisected] bugzilla-daemon
     [not found] ` <bug-109650-502-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2019-02-16 23:41   ` Fw: " Dieter Nützel
2019-02-19 12:53 ` bugzilla-daemon
2019-02-20  1:16 ` bugzilla-daemon
2019-02-20  2:17 ` bugzilla-daemon
2019-02-20  2:18 ` bugzilla-daemon

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.