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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2023 21:00:35 +0000 (17:00 -0400)
commitb447b079cf3a9971ea4d31301e673f49612ccc18
tree2ef1dabd2ca03eac74785a1fa9c6c043276832fc
parent982b173a6c6d9472730c3116051977e05d17c8c5
drm/amdgpu: fix xclk freq on CHIP_STONEY

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
drivers/gpu/drm/amd/amdgpu/vi.c