This is a note to let you know that I've just added the patch titled drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2) to the 5.11-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-amdgpu-set-reference-clock-to-100mhz-on-renoir-v2.patch and it can be found in the queue-5.11 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 6e80fb8ab04f6c4f377e2fd422bdd1855beb7371 Mon Sep 17 00:00:00 2001 From: Alex Deucher <alexander.deucher@xxxxxxx> Date: Tue, 16 Feb 2021 10:57:00 -0500 Subject: drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Alex Deucher <alexander.deucher@xxxxxxx> commit 6e80fb8ab04f6c4f377e2fd422bdd1855beb7371 upstream. Fixes the rlc reference clock used for GPU timestamps. Value is 100Mhz. Confirmed with hardware team. v2: reword commit message. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1480 Acked-by: Christian König <christian.koenig@xxxxxxx> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/gpu/drm/amd/amdgpu/soc15.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -241,6 +241,8 @@ static u32 soc15_get_xclk(struct amdgpu_ { u32 reference_clock = adev->clock.spll.reference_freq; + if (adev->asic_type == CHIP_RENOIR) + return 10000; if (adev->asic_type == CHIP_RAVEN) return reference_clock / 4; Patches currently in stable-queue which might be from alexander.deucher@xxxxxxx are queue-5.11/drm-amdgpu-fix-macro-name-_amdgpu_trace_h_-in-prepro.patch queue-5.11/drm-amd-display-fix-10-12-bpc-setup-in-dce-output-bi.patch queue-5.11/drm-amdgpu-fix-cgts_tcc_disable-register-offset-on-gfx10.3.patch queue-5.11/drm-amdgpu-prevent-shift-wrapping-in-amdgpu_read_mas.patch queue-5.11/drm-amd-display-fix-hdmi-deep-color-output-for-dce-6.patch queue-5.11/drm-amd-display-add-vupdate_no_lock-interrupts-for-dcn2.1.patch queue-5.11/drm-amdkfd-fix-recursive-lock-warnings.patch queue-5.11/drm-amdgpu-fix-shutdown-and-poweroff-process-failed-with-s0ix.patch queue-5.11/drm-amdgpu-display-remove-hdcp_srm-sysfs-on-device-r.patch queue-5.11/drm-amdgpu-set-reference-clock-to-100mhz-on-renoir-v2.patch queue-5.11/drm-amdgpu-toggle-on-df-cstate-after-finishing-xgmi-.patch queue-5.11/drm-amd-display-remove-assert-from-dcn10_get_dig_frontend.patch queue-5.11/revert-drm-amd-display-update-nv1x-sr-latency-values.patch queue-5.11/revert-drm-amd-display-reuse-current-context-instead-of-recreating-one.patch queue-5.11/drm-amd-display-add-fpu-wrappers-to-dcn21_validate_bandwidth.patch