]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: translate power_profile mode to pplib workload type
authorEvan Quan <evan.quan@amd.com>
Wed, 10 Oct 2018 07:00:28 +0000 (15:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Oct 2018 17:22:16 +0000 (12:22 -0500)
commitb9dffbfe67e9da7fb6cc5055f2d78558f3ccedc0
tree9485e2bfa0e1f50081d6e05237abdc9d03c32ff1
parent57f4d3972c32ab76ed667066c39cb15870676d4d
drm/amd/powerplay: translate power_profile mode to pplib workload type

Correctly translate the power profile specified by user to workload
type accepted by SMU fw.

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