drm/amd/powerplay: support BOOTUP_DEFAULT power profile mode
authorEvan Quan <evan.quan@amd.com>
Thu, 27 Dec 2018 06:23:30 +0000 (14:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Jan 2019 20:24:48 +0000 (15:24 -0500)
commit048b9b0f5ceefb2691834ac62f8459ebb7d3100e
tree9cc0ebf7888e2c40199fb5b576ae46a3753f6a18
parentbaf3c982dfbf7b0742039e6fef3f1fe1ba4079ab
drm/amd/powerplay: support BOOTUP_DEFAULT power profile mode

This can avoid unexpected profile mode change after running
compute workload.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/powerplay/hwmgr/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/hwmgr/vega20_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h