drm/amdgpu: disable rom clock gating support for APUs
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 23 Oct 2020 13:48:19 +0000 (21:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Nov 2020 05:13:35 +0000 (00:13 -0500)
commit8473c1387f6f23cd3d8174f5b87def48a3297bd4
treee145e4399ce5ae537288f4936dc231243949d321
parent0e961589f53e6d5164f308dd10c0e3c0b655f6ee
drm/amdgpu: disable rom clock gating support for APUs

ROM clock gating enable/disable is not supported
on APU platform. (i.e. CGTT_ROM_CLK_CTRL0 register
is not availabe on APU). SMUIO callbacks will check
APU flag before enable/disable rom clock gating, and
skip the programming. Accordingly, query clock gating
status through CGTT_ROM_CLK_CTRL0 also doesn't support
on APU platform.

The change applies to RAVEN/RAVEN2/PICASSO/RENOIR.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c