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)
commit233d3ee4ba3636c0215714ee9f282e08147a452b
tree64404d911c20adab05c3df6ceb89e14e44fcfcaf
parentb4ae4fe6cdbbfedb9e71294a4d9aa2b4a37edf16
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