drm/amd/pm: skip to load smu microcode on sriov for aldebaran
authorKevin Wang <kevin1.wang@amd.com>
Wed, 11 Aug 2021 07:52:02 +0000 (15:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Aug 2021 19:17:29 +0000 (15:17 -0400)
commit4a1cac255947faa9a4d346cc238a98ebbda0c658
tree50e2567d5e88d6067688ef8a094d4af71e9970c5
parent19838cbae736b402e661d24bdf814a2c2291ace4
drm/amd/pm: skip to load smu microcode on sriov for aldebaran

v1:
1. skip to load smu firmware in sriov mode for aldebaran chip
2. using vbios pptable if in sriov mode.

v2:
clean up smu driver code in sriov code path

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c