]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9452901586b473ccf8f60c3be5ddb5ca6ed9836d
treee145e4399ce5ae537288f4936dc231243949d321
parent5c6806339dbb4d52a2a22f32b86355f928b66c20
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