mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
drm/amdgpu/gfx11: update gpu_clock_counter logic
commitd5aa417808upstream. This code was written prior to previous updates to this logic for other chips. The RSC registers are part of SMUIO which is an always on block so there is no need to disable gfxoff. Additionally add the carryover and preemption checks. v2: rebase Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 6.1.y:5591a051b8: drm/amdgpu: refine get gpu clock counter method Cc: stable@vger.kernel.org # 6.2.y:5591a051b8: drm/amdgpu: refine get gpu clock counter method Cc: stable@vger.kernel.org # 6.3.y:5591a051b8: drm/amdgpu: refine get gpu clock counter method Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
055852074c
commit
76313a63f7
1 changed files with 7 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue