drm/amdgpu/gfx9: switch to golden tsc registers for renoir+
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Nov 2021 19:50:37 +0000 (14:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Dec 2021 08:04:56 +0000 (09:04 +0100)
commit4268e8325d63c63c424640e58da0ce6bad6344e0
tree75b9b514e155d8b4861365d0b0b28c8991da276b
parent8c501d9cf1229fe9676da75f3c1f77c61ccffe22
drm/amdgpu/gfx9: switch to golden tsc registers for renoir+

commit 53af98c091bc42fd9ec64cfabc40da4e5f3aae93 upstream.

Renoir and newer gfx9 APUs have new TSC register that is
not part of the gfxoff tile, so it can be read without
needing to disable gfx off.

Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c