drm/amd/powerplay: skip unsupported clock limit settings on Arcturus V2
authorEvan Quan <evan.quan@amd.com>
Tue, 22 Oct 2019 13:20:36 +0000 (21:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:10 +0000 (16:50 -0400)
commit0525f29713bd9f645c1c0da85e66b799615c4c33
tree551579d63f0e02027a1107a9b1f0c114381e89c7
parent664fe85a2d9283c30044d821c708860999c52f28
drm/amd/powerplay: skip unsupported clock limit settings on Arcturus V2

For Arcturus, clock limit settings on uclk/socclk/fclk domains
are not supported.

V2: simplify the code to support both SGPU and MGPU cases

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c