drm/virtio: check return value of vgdev_output_init()

The return value of vgdev_output_init(), called by
virtio_gpu_modeset_init(), is not checked. As a result, modeset
initialization continues even if an output fails to initialize.

check the return value and return the error to the caller.

Signed-off-by: shechenglong <shechenglong@xfusion.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patch.msgid.link/20260811015624.830-1-shechenglong@xfusion.com
This commit is contained in:
shechenglong 2026-08-11 09:56:24 +08:00 • committed by Dmitry Osipenko
commit d96504ea63