mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 23:04:54 +01:00
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The virtgpu driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out entirely. v5: - select DRM_CLIENT_SELECTION Signed-off-by: Thomas Zimmermann <[email protected]> Cc: David Airlie <[email protected]> Cc: Gerd Hoffmann <[email protected]> Cc: Gurchetan Singh <[email protected]> Cc: Chia-I Wu <[email protected]> Acked-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
26 lines
679 B
Plaintext
26 lines
679 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_VIRTIO_GPU
|
|
tristate "Virtio GPU driver"
|
|
depends on DRM && VIRTIO_MENU && MMU
|
|
select VIRTIO
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_KMS_HELPER
|
|
select DRM_GEM_SHMEM_HELPER
|
|
select VIRTIO_DMA_SHARED_BUFFER
|
|
help
|
|
This is the virtual GPU driver for virtio. It can be used with
|
|
QEMU based VMMs (like KVM or Xen).
|
|
|
|
If unsure say M.
|
|
|
|
config DRM_VIRTIO_GPU_KMS
|
|
bool "Virtio GPU driver modesetting support"
|
|
depends on DRM_VIRTIO_GPU
|
|
default y
|
|
help
|
|
Enable modesetting support for virtio GPU driver. This can be
|
|
disabled in cases where only "headless" usage of the GPU is
|
|
required.
|
|
|
|
If unsure, say Y.
|