Skip to contentSkip to conversation

New: AMDGPU incorrectly reports vddgfx voltage for R9 390

Bug 207137 [email protected] 1 participant 6 messages Apr 6, 2020 – Aug 30, 2020

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=207137

Bug ID: 207137
Summary: AMDGPU incorrectly reports vddgfx voltage for R9 390
Product: Drivers
Version: 2.5
Kernel Version: 5.6
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: low
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: No

I'm using an R9 390 GPU.

vddgfx voltage is always reported as 1 Volt, regardless of load.

I debugged and found that in smu7_hwmgr.c , in funcion smu7_read_sensor(), the voltage is read from PLANE2_VID when a certain condition is true. This always results in a final value of 1 Volt.

When I changed the code to read only from PLANE1_VID, the correct voltage seems to be reported, and it changes under load, from ~900 mv to 1.3 V.

Please fix.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 207137] AMDGPU incorrectly reports vddgfx voltage for R9 390

https://bugzilla.kernel.org/show_bug.cgi?id=207137

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher ([email protected]) ---
Can you attach a copy of your vbios and dmesg output? You can dump a copy of your vbios using the following:
sudo cat /sys/kernel/debug/dri/0/amdgpu_vbios > /tmp/vbios.rom

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 207137] AMDGPU incorrectly reports vddgfx voltage for R9 390

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=207137

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from [email protected] ---
Created attachment 288233
--> https://bugzilla.kernel.org/attachment.cgi?id=288233&action=edit
dmesg output

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 207137] AMDGPU incorrectly reports vddgfx voltage for R9 390

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=207137

--- Comment #3 from [email protected] ---
Created attachment 288235
--> https://bugzilla.kernel.org/attachment.cgi?id=288235&action=edit
GPU VBIOS

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 207137] AMDGPU incorrectly reports vddgfx voltage for R9 390

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=207137

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
Kernel Version|5.6 |5.8

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 207137] AMDGPU incorrectly reports vddgfx voltage for R9 390

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=207137

[email protected] changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #4 from [email protected] ---
Fixed with
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next&id=3425740adf97b2258966ee3f0d871fd5cc314028

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel