]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: fix xclk freq on CHIP_STONEY
authorChia-I Wu <olvaffe@gmail.com>
Thu, 1 Jun 2023 21:48:08 +0000 (14:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jun 2023 09:16:55 +0000 (11:16 +0200)
commitc1f2ff6bd529e5e9f0b073ed2821211f22435d5b
tree86f3479f9304ed4f81ce05589ef246ed3b403460
parent5028c814c3caf1f383905826446beeac1c518818
drm/amdgpu: fix xclk freq on CHIP_STONEY

commit b447b079cf3a9971ea4d31301e673f49612ccc18 upstream.

According to Alex, most APUs from that time seem to have the same issue
(vbios says 48Mhz, actual is 100Mhz).  I only have a CHIP_STONEY so I
limit the fixup to CHIP_STONEY

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/vi.c