Revert "drm/amd/powerply: fix power reading on Fiji"
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 4 Apr 2018 06:11:45 +0000 (14:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:17 +0000 (13:43 -0500)
commita0701722b68e69443dd3dd7970a9f343b7560a2c
tree74b7c703029f8957e492e0f538143b37f1a75047
parent8ee3a52e3f35e064a3bf82f21dc74ddaf9843648
Revert "drm/amd/powerply: fix power reading on Fiji"

we don't have limit of [50ms, 4sec] sampling period.
smu calculate average gpu power in real time.
we can read average gpu power through smu message or
read special register.

This reverts commit 462d8dcc9fec0d89f1ff6a1f93f1d4f670878c71.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c