drm/amd/powerplay: add interface to get performance level
authorHuang Rui <ray.huang@amd.com>
Wed, 16 Jan 2019 06:22:16 +0000 (14:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:59 +0000 (15:03 -0500)
commit64461900001fc32aa6e07f4712167aac815ea23d
tree3e98eac0f19ab7306c35beefd7b9a98c6d9479b8
parent98a64c15e0bea87938f68f78920d3b5d08ca39c2
drm/amd/powerplay: add interface to get performance level

This patch adds interface to get performance level for display and in smu v11
didn't have this implementation.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <Kevin1.Wang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h