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: drivers_video-dri@kernel-bugs.osdl.org Reporter: sandy.8925@gmail.com 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.
https://bugzilla.kernel.org/show_bug.cgi?id=207137
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher (alexdeucher@gmail.com) --- 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
https://bugzilla.kernel.org/show_bug.cgi?id=207137
sandy.8925@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sandy.8925@gmail.com
--- Comment #2 from sandy.8925@gmail.com --- Created attachment 288233 --> https://bugzilla.kernel.org/attachment.cgi?id=288233&action=edit dmesg output
https://bugzilla.kernel.org/show_bug.cgi?id=207137
--- Comment #3 from sandy.8925@gmail.com --- Created attachment 288235 --> https://bugzilla.kernel.org/attachment.cgi?id=288235&action=edit GPU VBIOS
https://bugzilla.kernel.org/show_bug.cgi?id=207137
sandy.8925@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Kernel Version|5.6 |5.8
https://bugzilla.kernel.org/show_bug.cgi?id=207137
sandy.8925@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |CODE_FIX
--- Comment #4 from sandy.8925@gmail.com --- Fixed with https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next&id=3425740a...
dri-devel@lists.freedesktop.org