Skip to contentSkip to conversation

power1: Watt numbers do not appear since some days (Polaris 20)

amd-staging-drm-next Dieter Nützel 2 participants 3 messages Apr 21, 2018 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello Harry and Alex,

Watt numbers are broken for some days (5 to 7).

Polaris 20 (RX580), Sapphire Nitro+, 8 GB

amdgpu-pci-0100

Adapter: PCI adapter
vddgfx:       +0.75 V
fan1:        1048 RPM
temp1:        +28.0°C  (crit = +94.0°C, hyst = -273.1°C)
power1:        0.00 W  (cap = 175.00 W)

Should I open a ticket, bisect?

Thanks,
Dieter

PS I do have litte time, summer in spring (April) here in 'good old Germany'...
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): cf1e1ef452a8072d9772eea44b2e8922-0hun7QTegEsDD4udEopG9Q@public.gmane.org

#2 lore raw

+ Rex

Quoted 6 lines · Dieter Nützel

Hello Harry and Alex,

Watt numbers are broken for some days (5 to 7).

Polaris 20 (RX580), Sapphire Nitro+, 8 GB

Quoted 8 lines

amdgpu-pci-0100

Adapter: PCI adapter
vddgfx:       +0.75 V
fan1:        1048 RPM
temp1:        +28.0°C  (crit = +94.0°C, hyst = -273.1°C)
power1:        0.00 W  (cap = 175.00 W)

Should I open a ticket, bisect?

Should be fixed with this patch.

Alex

Quoted 6 lines

Thanks,
Dieter

PS I do have litte time, summer in spring (April) here in 'good old Germany'...

From 3fe5cfc85f843b2ef66255215535a18ada068a2a Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Sat, 21 Apr 2018 14:09:59 -0500
Subject: [PATCH] drm/amdgpu/powerplay: actually return the power with the new
query

Set query to the power value so we actually return it. Fixes no power value returned on asics with the new query.

---
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +1 -0
index 720ac47d3365..90ad1b0ffb9a 100644
@@ -3340,6 +3340,7 @@ static int smu7_get_gpu_power(struct pp_hwmgr *hwmgr, u32 *query)
 
 	smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_GetCurrPkgPwr, 0);
 	tmp = cgs_read_register(hwmgr->device, mmSMC_MSG_ARG_0);
+	*query = tmp;
 
 	if (tmp != 0)
 		return 0;
Signature · 1 line
2.13.6

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

A message that is not in the archive (sent off-list or not yet received): CADnq5_Ni7Hww58SuuXTZ7AddMLNfmmZ29aod+atnxhh-G+dbXw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

author Tested-by
#4 lore raw

Even better 'idle' (KDE Plasma 5 desktop, single monitor) then _ever_:

amdgpu-pci-0100

Adapter: PCI adapter
vddgfx:       +0.75 V
fan1:         900 RPM
temp1:        +26.0°C  (crit = +94.0°C, hyst = -273.1°C)
power1:       31.04 W  (cap = 175.00 W)

But 'hyst = -273.1°C'?
Read about a fix for this earlier, but...;-)

Thanks,
Dieter

Am 21.04.2018 21:13, schrieb Alex Deucher:

Quoted 16 lines

+ Rex

Quoted 13 lines · Dieter Nützel

Hello Harry and Alex,

Watt numbers are broken for some days (5 to 7).

Polaris 20 (RX580), Sapphire Nitro+, 8 GB

amdgpu-pci-0100

Adapter: PCI adapter
vddgfx:       +0.75 V
fan1:        1048 RPM
temp1:        +28.0°C  (crit = +94.0°C, hyst = -273.1°C)
power1:        0.00 W  (cap = 175.00 W)
Quoted 14 lines
Quoted 1 line

Should I open a ticket, bisect?

Should be fixed with this patch.

Alex

Quoted 6 lines

Thanks,
Dieter

PS I do have litte time, summer in spring (April) here in 'good old Germany'...

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