drm/amd/powerplay: add function get_gpu_power for navi10
authorKevin Wang <kevin1.wang@amd.com>
Tue, 23 Apr 2019 03:07:52 +0000 (11:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:29 +0000 (18:59 -0500)
commit077ca74e3cbf9a6a11ccc3ea32c5f3afa4bb35f0
tree1397ae038e202bb70cf7c5915053af8f27229f97
parent2f72726b2af655c2ce28cbce27b822fd666d467d
drm/amd/powerplay: add function get_gpu_power for navi10

add callback function get_gpu_power 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