drm/amd/pp: Adding a function to store cc6 data in SMU10
authorMikita Lipski <mikita.lipski@amd.com>
Wed, 11 Apr 2018 20:25:26 +0000 (16:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:21 +0000 (13:43 -0500)
commit5c3517d0c2ead443f378173c698f3bd09cb89d72
tree04f3c7e2af7153332c0ae8177a1a7244aa78f052
parent03a27de648d8a2b2bf59a7f467855fac2d850350
drm/amd/pp: Adding a function to store cc6 data in SMU10

Filling the smu10_store_cc6_data based on the implementation
of Windows Powerplay.

There is an uncertainty with one of the parameters passed to the function
pstate_switch_disable - is not a part of smu10 private data structure.
So in the function its just ignored.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c