drm/amd/powerplay: add set_power_profile_mode for raven1_refresh
authorChengming Gui <Jack.Gui@amd.com>
Mon, 13 May 2019 09:41:19 +0000 (17:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2019 16:13:16 +0000 (11:13 -0500)
commit1019fe047a483ecfdc82661802e56871f649c46e
treee3ea2b5cb7317062551129d0f25630e1e36b85dc
parentce0e22f5d886d1b56c7ab4347c45b9ac5fcc058d
drm/amd/powerplay: add set_power_profile_mode for raven1_refresh

add gfxoff_state_changed_by_workload to control gfxoff
when set power_profile_mode

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h