drm/amd/powerplay: enable SW SMU power profile switch support in KFD
authorEvan Quan <evan.quan@amd.com>
Wed, 31 Jul 2019 02:34:36 +0000 (10:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:30:39 +0000 (10:30 -0500)
commit4abc1765d2f74f706fdae067f3aec5c0778154d6
treed0cf1cd0aeb2b74477ab52b006f3210683dce672
parent7aa3f675d1439bb0ca68505b1eab06f75891e81b
drm/amd/powerplay: enable SW SMU power profile switch support in KFD

Hook up the SW SMU power profile switch in KFD routine.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h