Skip to contentSkip to conversation

Powerplay support for SI asics

Bug 106363 [email protected] 1 participant 8 messages May 2, 2018 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 106363
Summary: Powerplay support for SI asics
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: enhancement
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

This is a feature request for powerplay support on SI asics. I can understand that they are not a priority but since they are (experimentally) supported by AMDgpu, I think they should have it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

--- Comment #1 from Gregor Münch <[email protected]> ---
Im on Tahiti and I just append amdgpu.dpm=1 to my kernel config and things started working.
DPMS, Suspend to Disk all is working fine.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Michel Dänzer <[email protected]> --- (In reply to Gregor Münch from comment #1)

Quoted 1 line

DPMS, Suspend to Disk all is working fine.

Neither DPMS nor suspend to disk has anything to do with PowerPlay (or DPM) though. :)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from Alex Deucher <[email protected]> ---
dpm is enabled by default on SI parts so setting dpm=1 doesn't change anything.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

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

--- Comment #4 from Gregor Münch <[email protected]> --- (In reply to Alex Deucher from comment #3)

Quoted 2 lines

dpm is enabled by default on SI parts so setting dpm=1 doesn't change anything.

This depends if you use amdgpu instead of radeon on SI. In that case amdgpu.dpm seems to be disabled.
I tried to enable DPMS and read through a bunch of tutorials configuring Xorg but nothing did work.
Then I stumbled about a newsentry on phoronix mentioned this patch:
https://lists.freedesktop.org/archives/amd-gfx/2018-May/022771.html
There you change the behavior for CIK parts to use PP by default. The logic of this patch changes amdgpu.dpm=-1 (auto) to switch from whatever to Powerplay.

I started my Kernel with amdgpu.dpm=1 and everything suddenly worked like magic.

Since I dont what Powerplay actually does in the Linux world and a quick google search came up with nothing and modinfo amdgpu just reveils dpm:DPM support (1 = enable, 0 = disable, -1 = auto) (int)
but nothing about Powerplay I was really under the impression that DPM also enables Powerplay.
Im sorry for the confusion.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

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

--- Comment #5 from Alex Deucher <[email protected]> --- (In reply to Gregor Münch from comment #4)

Quoted 6 lines

(In reply to Alex Deucher from comment #3)

Quoted 2 lines

dpm is enabled by default on SI parts so setting dpm=1 doesn't change anything.

This depends if you use amdgpu instead of radeon on SI. In that case amdgpu.dpm seems to be disabled.

nope. dpm is enabled by default on both radeon and amdgpu.

Quoted 2 lines

I tried to enable DPMS and read through a bunch of tutorials configuring Xorg but nothing did work.

DPMS is not related to dpm at all.

Quoted 5 lines

Then I stumbled about a newsentry on phoronix mentioned this patch:
https://lists.freedesktop.org/archives/amd-gfx/2018-May/022771.html
There you change the behavior for CIK parts to use PP by default. The logic of this patch changes amdgpu.dpm=-1 (auto) to switch from whatever to Powerplay.

This change applies to CIK only not SI.

Quoted 11 lines

I started my Kernel with amdgpu.dpm=1 and everything suddenly worked like magic.

Since I dont what Powerplay actually does in the Linux world and a quick google search came up with nothing and modinfo amdgpu just reveils dpm:DPM support (1 = enable, 0 = disable, -1 = auto) (int)
but nothing about Powerplay I was really under the impression that DPM also enables Powerplay.
Im sorry for the confusion.

dpm and powerplay are just two sw implementations of the same hardware functionality. CIK and VI share the same SMU IP so they can share most of the power code. SI uses an old SMU block and can't share the code so it still uses the dpm implementation originally ported from radeon.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

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

--- Comment #6 from Gregor Münch <[email protected]> --- Thanks for your explanations Alex.

Maybe useful for other:
It turned out that Steam client has probably a bug preventing screensaver getting active.

https://github.com/ValveSoftware/steam-for-linux/issues/5532

One more problem seems to be that Deepin or whatever still cant run the screensaver even after Steam was closed.

https://github.com/linuxdeepin/developer-center/issues/567

Im sorry again for occupying this bug report.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

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

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #7 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/371.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel