drm/amd/powerplay: add function get_current_activity_percent for navi10
authorKevin Wang <kevin1.wang@amd.com>
Tue, 23 Apr 2019 03:10:30 +0000 (11:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:30 +0000 (18:59 -0500)
commit7447a23b08fc191d7141886bad3718ef63cce930
treeffd88f5fb1ec07be4a8a36a15381e6cc177e0e15
parent077ca74e3cbf9a6a11ccc3ea32c5f3afa4bb35f0
drm/amd/powerplay: add function get_current_activity_percent for navi10

add callback function get_current_activity_percent for navi10 asic

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