drm/amd/powerplay: enable df cstate control on swSMU routine
authorEvan Quan <evan.quan@amd.com>
Thu, 10 Oct 2019 03:40:37 +0000 (11:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2019 19:48:29 +0000 (15:48 -0400)
commit7e899409fd5e9abccee8435d9401b8ca12cebcae
tree8f8ef00c66a17ade8be31850b6cc978b49fc21a0
parent06615f9a0c0d68566fc069729aade64a7dbadd58
drm/amd/powerplay: enable df cstate control on swSMU routine

Currently this is only supported on Vega20 with 40.50 and later
SMC firmware.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/inc/smu_types.h
drivers/gpu/drm/amd/powerplay/vega20_ppt.c