]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: refine virtualization psp fw skip check
authorHorace Chen <horace.chen@amd.com>
Thu, 21 Jul 2022 06:42:30 +0000 (14:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Sep 2022 19:11:12 +0000 (15:11 -0400)
commitb7418be80d051e23ac468d0b0d575fd44ac198b5
tree77f68bd16723ef83a28630b334b5aa4a0ce9b8e4
parent373fdda08bae36a86e70388bd3a5e4b604cc1ceb
drm/amdgpu: refine virtualization psp fw skip check

SR-IOV may need to load different firmwares for different ASIC inside
VF.
So create a new function in amdgpu_virt to check whether FW load needs
to be skipped.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Horace Chen <horace.chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h