mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00: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 <tzimmermann@suse.de> Cc: David Airlie <airlied@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Gurchetan Singh <gurchetansingh@chromium.org> Cc: Chia-I Wu <olvaffe@gmail.com> Acked-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-62-tzimmermann@suse.de
25 lines
679 B
Text
25 lines
679 B
Text
# 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.
|