]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Allow switching to CUSTOM profile on smu7 v2
authorKent Russell <kent.russell@amd.com>
Fri, 22 Mar 2019 13:01:26 +0000 (09:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Apr 2019 15:00:31 +0000 (10:00 -0500)
commit99e39a085948a97ae37334db43e7fd8b1bb0a5cf
tree64404d911c20adab05c3df6ceb89e14e44fcfcaf
parenta548e858bc5f953d157d68773954a81e9a765d21
drm/amdgpu: Allow switching to CUSTOM profile on smu7 v2

Allow changing to the CUSTOM profile without requiring the
parameters being passed in each time. Store the values in
the smu7_profiling table since it's defined here anyways

v2: Add check that CUSTOM was previously set

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