Re: [PATCH 1/1] AMDGPU : Fix bug in reporting voltage for CIK

2020-08-27 Thread Alex Deucher
Applied with some minor whitespace fixes. Thanks! Alex On Thu, Aug 27, 2020 at 9:13 AM Sandeep Raghuraman wrote: > > On my R9 390, the voltage was reported as a constant 1000 mV. This was due to > a bug in smu7_hwmgr.c, in the smu7_read_sensor() function, where some magic > constants were

[PATCH 1/1] AMDGPU : Fix bug in reporting voltage for CIK

2020-08-27 Thread Sandeep Raghuraman
On my R9 390, the voltage was reported as a constant 1000 mV. This was due to a bug in smu7_hwmgr.c, in the smu7_read_sensor() function, where some magic constants were used in a condition, to determine whether the voltage should be read from PLANE2_VID or PLANE1_VID. The VDDC mask was