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

Gerd Hoffmann kraxel at redhat.com
Mon Feb 27 06:38:21 UTC 2023


On Fri, Feb 24, 2023 at 10:02:24AM -0800, Rob Clark wrote:
> From: Rob Clark <robdclark at chromium.org>
> 
> 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.

Why make that a compile time option?  There is a config option for the
number of scanouts (aka virtual displays) a device has.  Just set that
to zero (and fix the driver to not consider that configuration an
error).

take care,
  Gerd



More information about the dri-devel mailing list