]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: check for invalid profile_exit setting
authorEvan Quan <evan.quan@amd.com>
Sun, 5 May 2019 03:00:50 +0000 (11:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 May 2019 18:24:57 +0000 (13:24 -0500)
commit04e61105135b32f9a3b1396504164d93c464edc9
tree9517abe8a48e270ed39fa24bb12731cac5cb0f81
parent1d7fe59dc0e9aa480ca91fd264a7dfb73558c103
drm/amd/powerplay: check for invalid profile_exit setting

profile_exit performance level setting is valid only
when current mode is in profile mode.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c