drm/amd/powerplay: add helper function to get voltage id in votage table
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 12 Sep 2016 07:17:37 +0000 (15:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 19:10:34 +0000 (15:10 -0400)
commit8bea2527faa13dad21e4307af77b292a8e4ded2f
tree0b0fc8d68f9e8b0a520f98c3e628d35104de2fab
parent9597f40365760873bf7fc399bb5c40c3d9949359
drm/amd/powerplay: add helper function to get voltage id in votage table

Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-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/hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h