diff options
| author | Lijo Lazar <[email protected]> | 2025-02-05 08:40:48 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-02-13 02:04:08 +0000 |
| commit | cc0e91a75533d76def12f2bedb95b00a8f70cebc (patch) | |
| tree | 54880166d49bd61e20f74fe78ed11b111fea80c2 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: Add flag to make VBIOS read optional (diff) | |
| download | kernel-cc0e91a75533d76def12f2bedb95b00a8f70cebc.tar.gz kernel-cc0e91a75533d76def12f2bedb95b00a8f70cebc.zip | |
drm/amdgpu: Make VBIOS image read optional
Keep VBIOS image read optional for select SOCs in passthrough mode.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index a3f8f20da7ff..e1fc020a99bd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -1397,6 +1397,9 @@ static uint32_t amdgpu_device_get_vbios_flags(struct amdgpu_device *adev) if (hweight32(adev->aid_mask) && (adev->flags & AMD_IS_APU)) return AMDGPU_VBIOS_SKIP; + if (hweight32(adev->aid_mask) && amdgpu_passthrough(adev)) + return AMDGPU_VBIOS_OPTIONAL; + return 0; } |
