drm/amd/powerplay: add profiling mode in dpm level
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 23 Dec 2016 07:24:37 +0000 (15:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:12:57 +0000 (11:12 -0500)
commit3bd58979648fd105258934fb9f0fea1d73341d08
treec66bbd3e2ae6e137c998d4c8bff55b864b808850
parent9d273495e691f9473db6b2ae2da41515d53a70e9
drm/amd/powerplay: add profiling mode in dpm level

In some case, App need to run under max stable clock.
so export profiling mode: GFX CG was disabled.
and user can select the max stable clock of the device.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/include/amd_shared.h
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c