drm/amdgpu: Fix APU handling in amdgpu_pm_load_smu_firmware()
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jul 2024 21:30:37 +0000 (17:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 27 Jul 2024 22:10:34 +0000 (18:10 -0400)
commitd2860084ecca456ce78b251011f7def8d9136dcc
treeefb94adc81b4766cc4dd216328385d8bdd27ae6f
parent9038e25c80558d48ce33d6d8c168666164dc72e9
drm/amdgpu: Fix APU handling in amdgpu_pm_load_smu_firmware()

We only need to skip this on modern APUs.  It's required
on older APUs as it's where start_smu gets called from.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3502
Fixes: 064d92436b69 ("drm/amd/pm: avoid to load smu firmware for APUs")
Reviewed-by: Tim Huang <tim.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Tim Huang <Tim.Huang@amd.com>
(cherry picked from commit 608d886c978cd5f3d8650630568d96c231845227)
drivers/gpu/drm/amd/pm/amdgpu_dpm.c