drm/amd/powerplay: allow slow switch only if NBPState enabled v2
authorEvan Quan <evan.quan@amd.com>
Mon, 16 Jul 2018 09:25:30 +0000 (17:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jul 2018 20:14:35 +0000 (15:14 -0500)
commit92859e0d5ce558df44eb05f7d5872edc96646b24
treeb0837bf3485db70f52b11bc480a108df542af4ee
parentf132d56162e670d2338902753b88ecbf29ca46a0
drm/amd/powerplay: allow slow switch only if NBPState enabled v2

Otherwise there may be potential SMU performance issues.

v2: fix commit description and coding style

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/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c