RE: [PATCH] drm/powerplay: Fix Vega20 power reading again

2019-08-25 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of > Russell, Kent > Sent: Friday, August 23, 2019 9:37 PM > To: amd-gfx@lists.freedesktop.org > Cc: Russell, Kent > Subject: [PATCH] drm/powerplay: Fix Vega20 power reading again > >

Re: [PATCH] drm/powerplay: Fix Vega20 power reading again

2019-08-23 Thread Deucher, Alexander
Reviewed-by: Alex Deucher From: amd-gfx on behalf of Russell, Kent Sent: Friday, August 23, 2019 9:37 AM To: amd-gfx@lists.freedesktop.org Cc: Russell, Kent Subject: [PATCH] drm/powerplay: Fix Vega20 power reading again For the 40.46 SMU release

[PATCH] drm/powerplay: Fix Vega20 power reading again

2019-08-23 Thread Russell, Kent
For the 40.46 SMU release, they changed CurrSocketPower to AverageSocketPower, but this was changed back in 40.47 so just check if it's 40.46 and make the appropriate change Tested with 40.45, 40.46 and 40.47 successfully Change-Id: Icbbe6fd3381b8ad6298c2d0852a726ffac98f93a Signed-off-by: Kent