]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: fix fan speed show error (for hwmon pwm)
authorKevin Wang <kevin1.wang@amd.com>
Thu, 6 Jun 2019 09:12:34 +0000 (17:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2019 18:25:48 +0000 (13:25 -0500)
commitb9d9421ade517ae17b60805e014f09cf4a5c8427
tree873aaa07efb9e9bcd0300b59712d1ae1da2e10a3
parentf64794853b29236610d286d30dd103cac9004db1
drm/amd/powerplay: fix fan speed show error (for hwmon pwm)

the navi asic can't get current rpm by MSG_GetCurrentRpm,
it will cause show fan rpm error, use Metrics_t to replace it.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c