drm/amd/pm: avoid to load smu firmware for APUs
authorTim Huang <Tim.Huang@amd.com>
Thu, 13 Jun 2024 02:34:13 +0000 (10:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2024 20:46:30 +0000 (16:46 -0400)
commit064d92436b6924937ef414894d9174fa4465f788
tree8f0d07726b8fcdfa01b97d09e2b97981f362c4ee
parent78347b651aa5be8b48462c48fee7e8302dcc5819
drm/amd/pm: avoid to load smu firmware for APUs

Certain call paths still load the SMU firmware for APUs,
which needs to be skipped.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
drivers/gpu/drm/amd/pm/amdgpu_dpm.c