]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: add UMD P-state in powerplay.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 29 Aug 2017 08:08:56 +0000 (16:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Sep 2017 18:22:23 +0000 (14:22 -0400)
commit66f4ef1bb91c3eaf415e10f694a41090b660e599
tree0c3a5d2e2d392d1d40a643b63f8699e3e9396e1d
parenta109a4ce2aee0db5c8692c0dc7814dc2d8a2eea6
drm/amd/powerplay: add UMD P-state in powerplay.

This feature is for UMD to run benchmark in a
power state that is as steady as possible. kmd
need to fix the power state as stable as possible.
now, kmd support four level:
profile_standard,peak,min_sclk,min_mclk

move common related code to amd_powerplay.c

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/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h