]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerply: fix power reading on Fiji
authorEric Huang <JinHuiEric.Huang@amd.com>
Thu, 29 Mar 2018 15:49:51 +0000 (11:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Apr 2018 18:08:44 +0000 (13:08 -0500)
commit9610bcf8035077f8946cac7c50a7abf715fc0189
treeb89202e67a6b5de78cba5a94707b9374ba051b91
parent2ebdbc3fa258c9e8ac41cc9f93d042b6d1b53c4e
drm/amd/powerply: fix power reading on Fiji

Power value is wrong reported by customer. It is a regression by

commit dd349aeff1101cb0a17e3c7f2602f739c978b018
Author: Rex Zhu <Rex.Zhu@amd.com>
Date:   Mon Mar 27 15:32:59 2017 +0800

    drm/amd/powerplay: reduce sample period time

    for power readings.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
The theoretical sampling period is from 50ms to 4sec, original 2sec
is long but correct, and 20ms is too short. change it to more
reasonable 200ms.

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