Re: [PATCH v5] drm/virtio: Add option to disable KMS support

From: Gerd Hoffmann
Date: Thu Mar 02 2023 - 02:19:24 EST


Hi,

> + if (vgdev->num_scanouts) {
> + ret = virtio_gpu_modeset_init(vgdev);

The call to virtio_gpu_modeset_fini() in the unregister
code path needs this too.

Otherwise the patch looks good to me, so with that fixed:
Acked-by: Gerd Hoffmann <kraxel@xxxxxxxxxx>

take care,
Gerd