aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorKent Russell <kent.russell@amd.com>2019-04-01 07:19:06 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-04-03 10:00:31 -0500
commite178f10726d136e54080a43382b858020ea694a3 (patch)
treee01dd1454602ad7d6ab72b2496847d58ffd47973 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentbbdf38cc0dce5c68658e20b777720b8611dc286c (diff)
drm/amdgpu: Allow switching to CUSTOM profile on Vega20
Vega20 stores a CUSTOM profile on the GPU, but it may not be valid. Add a bool to vega20_hwmgr to determine whether or not a valid CUSTOM profile has been set, and use that to check when a user requests switching to the CUSTOM profile without passing in any arguments. Then if the CUSTOM profile has been set already, we can switch to it without providing the parameters again 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions