On Mon, Nov 29, 2021 at 12:25:26PM -0600, Mario Limonciello wrote:
From: Alex Deucher alexander.deucher@amd.com
commit 53af98c091bc ("drm/amdgpu/gfx9: switch to golden tsc registers for renoir+")
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: Mario Limonciello mario.limonciello@amd.com
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 46 ++++++++++++++++++++------- 1 file changed, 35 insertions(+), 11 deletions(-)
This is necessary for s0i3 to work well on GNOME41 which tries to access timestamps during suspend process causing GFX to wake up.
Modified to take use ASIC IDs rather than IP version checking Please apply this to both 5.14.y and 5.15.y.
Please note that 5.14.y is end-of-life as the front page of kernel.org should show.
thanks,
greg k-h