]> git.itanic.dy.fi Git - linux-stable/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:15:25 +0000 (11:15 +0200)
commit34419aa0b448b0eee941102793893e0e256abda1
tree36021a2f768165d7e6f77457fcfa466e36442eb3
parent416ba40ff3c4ecafbed19029c9e9884a7fee3da5
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