mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/4] video: add support for QEMU ramfb
@ 2023-01-30  7:27 Ahmad Fatoum
  2023-01-30  7:27 ` [PATCH v2 1/4] fs: devfs: implement cdev_fdopen Ahmad Fatoum
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ahmad Fatoum @ 2023-01-30  7:27 UTC (permalink / raw)
  To: barebox; +Cc: Adrian Negreanu, Ahmad Fatoum

QEMU's ramfb is a very simple Qemu fw_cfg protocol, where the guest
need only write a video settings structure to /etc/ramfb to get
DMA from the framebuffer working. Add a driver for this on top
of a newly added character device interface.

Adrian Negreanu (1):
  video: add support for QEMU ramfb

Ahmad Fatoum (3):
  fs: devfs: implement cdev_fdopen
  asm-generic: avoid compiler warnings due to PCI_IOBASE
  firmware: add QEMU FW CFG driver

 drivers/firmware/Kconfig         |  10 +
 drivers/firmware/Makefile        |   1 +
 drivers/firmware/qemu_fw_cfg.c   | 307 +++++++++++++++++++++++++++++++
 drivers/video/Kconfig            |   6 +
 drivers/video/Makefile           |   1 +
 drivers/video/ramfb.c            | 191 +++++++++++++++++++
 fs/devfs-core.c                  |  20 ++
 include/asm-generic/io.h         |   3 +-
 include/driver.h                 |   1 +
 include/filetype.h               |   1 +
 include/uapi/linux/qemu_fw_cfg.h | 100 ++++++++++
 11 files changed, 640 insertions(+), 1 deletion(-)
 create mode 100644 drivers/firmware/qemu_fw_cfg.c
 create mode 100644 drivers/video/ramfb.c
 create mode 100644 include/uapi/linux/qemu_fw_cfg.h

-- 
2.38.1




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-31  8:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30  7:27 [PATCH v2 0/4] video: add support for QEMU ramfb Ahmad Fatoum
2023-01-30  7:27 ` [PATCH v2 1/4] fs: devfs: implement cdev_fdopen Ahmad Fatoum
2023-01-30  7:27 ` [PATCH v2 2/4] asm-generic: avoid compiler warnings due to PCI_IOBASE Ahmad Fatoum
2023-01-30  7:27 ` [PATCH v2 3/4] firmware: add QEMU FW CFG driver Ahmad Fatoum
2023-01-30  7:27 ` [PATCH v2 4/4] video: add support for QEMU ramfb Ahmad Fatoum
2023-01-31  8:19 ` [PATCH v2 0/4] " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox