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

2023-03-04 Thread Dmitry Osipenko
On 3/3/23 02:35, Rob Clark wrote: > @@ -223,12 +223,15 @@ int virtio_gpu_init(struct virtio_device *vdev, struct > drm_device *dev) > num_scanouts, _scanouts); > vgdev->num_scanouts = min_t(uint32_t, num_scanouts, >

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

2023-03-03 Thread Dmitry Osipenko
On 3/3/23 02:35, Rob Clark wrote: > From: Rob Clark > > Add a build option to disable modesetting support. This is useful in > cases where the guest only needs to use the GPU in a headless mode, or > (such as in the CrOS usage) window surfaces are proxied to a host > compositor. > > As the

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

2023-03-02 Thread Gerd Hoffmann
On Thu, Mar 02, 2023 at 03:35:06PM -0800, Rob Clark wrote: > From: Rob Clark > > Add a build option to disable modesetting support. This is useful in > cases where the guest only needs to use the GPU in a headless mode, or > (such as in the CrOS usage) window surfaces are proxied to a host >

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

2023-03-02 Thread Rob Clark
From: Rob Clark Add a build option to disable modesetting support. This is useful in cases where the guest only needs to use the GPU in a headless mode, or (such as in the CrOS usage) window surfaces are proxied to a host compositor. As the modesetting ioctls are a big surface area for