drm/amdgpu: vBIOS post only call when mem_size zero
Subsystems (2)
PATCH 1/1 drm/amdgpu: vBIOS post only call when mem_size zero
From: Monk Liu <[email protected]>
Signed-off-by Monk Liu <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Reviewed-by Christian König <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -2
@@ -1518,8 +1518,7 @@ int amdgpu_device_init(struct amdgpu_device *adev,amdgpu_atombios_has_gpu_virtualization_table (adev);/* Post card if necessary */ -if (!amdgpu_card_posted (adev) || - adev->virtualization.supports_sr_iov) { +if (!amdgpu_card_posted (adev)) {if (!adev->bios) {dev_err (adev->dev,"Card not posted and no BIOS - ignoring\n" );return -EINVAL ;
Signature · 6 lines
2.5.5 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel