]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/pm: move additional logic into amdgpu_dpm_force_performance_level
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Jan 2022 23:14:22 +0000 (18:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:51:15 +0000 (17:51 -0500)
commit92ce74a6db2cd47cb8fa320d98981d6366475fb4
treef867926ee75725095dd779b8b5ce45449ba528f4
parent9bfad7a26ca35288dab9c5daedaae8ef66fe4dc4
drm/amdgpu/pm: move additional logic into amdgpu_dpm_force_performance_level

This is part of the forced performance level.  Move it from
the sysfs handler into amdgpu_dpm_force_performance_level.

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