drm/amd/pp: Add common interface in smu for update dpm setting
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 24 Jan 2018 06:48:17 +0000 (14:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:39:28 +0000 (15:39 -0500)
commit31bc45de132a2af9861622eb36764bf375c68cb4
treee1f1da3d603e37233e9e0c8f4fba99d62ac8c30e
parent15826fbfef16a20799fa7c990df758b455bf7b62
drm/amd/pp: Add common interface in smu for update dpm setting

it is used for adjust part of dpm settigs per workloads
to change the natural dpm behavior for better perf or perf/watt.

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/inc/hwmgr.h
drivers/gpu/drm/amd/powerplay/inc/smumgr.h
drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c