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:19:10 +0000 (09:19 +0100)
commit45b42cd05391197d5426a9097043d5e77bdbefc9
treefbcee508ecf55f1003d044509e485ef53ef8226f
parent98b02755d544ce26ac0a41ff52bf56f2bd79e4c0
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