drm/amd/powerplay: allow slow switch only if NBPState enabled
authorEvan Quan <evan.quan@amd.com>
Fri, 20 Jul 2018 02:56:21 +0000 (10:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:37 +0000 (11:10 -0500)
commit16ed0ff2755c852c3222bf53d4a0d97f3665733e
tree8ce31e86954deefe3a5039067313336899a690d0
parent5d923a692868609f77db4873a3ff4420853cb38c
drm/amd/powerplay: allow slow switch only if NBPState enabled

Otherwise there may be potential SMU performance issues.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c