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

Gerd Hoffmann kraxel at redhat.com
Thu Mar 2 07:18:14 UTC 2023


  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 at redhat.com>

take care,
  Gerd



More information about the dri-devel mailing list