Skip to content

Commit b0548a2

Browse files
committed
drm/cirrus: Move to drm/tiny
Because it is. Huge congrats to everyone who made this kind of refactoring happen! Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: Dave Airlie <airlied@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: virtualization@lists.linux-foundation.org Link: https://patchwork.freedesktop.org/patch/msgid/20200415074034.175360-38-daniel.vetter@ffwll.ch
1 parent 0c7890d commit b0548a2

8 files changed

Lines changed: 21 additions & 25 deletions

File tree

‎MAINTAINERS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5422,7 +5422,7 @@ L: virtualization@lists.linux-foundation.org
54225422
S: Obsolete
54235423
W: https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/
54245424
T: git git://anongit.freedesktop.org/drm/drm-misc
5425-
F: drivers/gpu/drm/cirrus/
5425+
F: drivers/gpu/drm/tiny/cirrus.c
54265426

54275427
DRM DRIVER FOR QXL VIRTUAL GPU
54285428
M: Dave Airlie <airlied@redhat.com>

‎drivers/gpu/drm/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,6 @@ source "drivers/gpu/drm/ast/Kconfig"
310310

311311
source "drivers/gpu/drm/mgag200/Kconfig"
312312

313-
source "drivers/gpu/drm/cirrus/Kconfig"
314-
315313
source "drivers/gpu/drm/armada/Kconfig"
316314

317315
source "drivers/gpu/drm/atmel-hlcdc/Kconfig"

‎drivers/gpu/drm/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ obj-$(CONFIG_DRM_I915) += i915/
7474
obj-$(CONFIG_DRM_MGAG200) += mgag200/
7575
obj-$(CONFIG_DRM_V3D) += v3d/
7676
obj-$(CONFIG_DRM_VC4) += vc4/
77-
obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
7877
obj-$(CONFIG_DRM_SIS) += sis/
7978
obj-$(CONFIG_DRM_SAVAGE)+= savage/
8079
obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/

‎drivers/gpu/drm/cirrus/Kconfig‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

‎drivers/gpu/drm/cirrus/Makefile‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎drivers/gpu/drm/tiny/Kconfig‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

3+
config DRM_CIRRUS_QEMU
4+
tristate "Cirrus driver for QEMU emulated device"
5+
depends on DRM && PCI && MMU
6+
select DRM_KMS_HELPER
7+
select DRM_GEM_SHMEM_HELPER
8+
help
9+
This is a KMS driver for emulated cirrus device in qemu.
10+
It is *NOT* intended for real cirrus devices. This requires
11+
the modesetting userspace X.org driver.
12+
13+
Cirrus is obsolete, the hardware was designed in the 90ies
14+
and can't keep up with todays needs. More background:
15+
https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/
16+
17+
Better alternatives are:
18+
- stdvga (DRM_BOCHS, qemu -vga std, default in qemu 2.2+)
19+
- qxl (DRM_QXL, qemu -vga qxl, works best with spice)
20+
- virtio (DRM_VIRTIO_GPU), qemu -vga virtio)
21+
322
config DRM_GM12U320
423
tristate "GM12U320 driver for USB projectors"
524
depends on DRM && USB

‎drivers/gpu/drm/tiny/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

3+
obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus.o
34
obj-$(CONFIG_DRM_GM12U320) += gm12u320.o
45
obj-$(CONFIG_TINYDRM_HX8357D) += hx8357d.o
56
obj-$(CONFIG_TINYDRM_ILI9225) += ili9225.o

0 commit comments

Comments
 (0)