-----Original Message----- From: Greg KH gregkh@linuxfoundation.org Sent: Tuesday, November 30, 2021 04:13 To: Limonciello, Mario Mario.Limonciello@amd.com Cc: stable@vger.kernel.org; Deucher, Alexander Alexander.Deucher@amd.com; Tuikov, Luben Luben.Tuikov@amd.com Subject: Re: [PATCH] drm/amdgpu/gfx9: switch to golden tsc registers for renoir+
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, I didn't realize that until now.