Skip to content

virtio_gpu driver and relevant fix

Jiaxun Yang u-boot 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20240513-virtio_gpu-abb4de685808

Versions newest first

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Fix left over in previous version (endian, unused variable)
- Fix Kconfig text
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio: New virtio_gpu driverdrivers/virtio/Kconfig drivers/virtio/Makefile drivers/virtio/virtio-uclass.c +3 more+764 -15 replies
2/2efi: gop: Mark pixel_format as BLTONLY if we have sync hookinclude/efi_api.h lib/efi_loader/efi_gop.c+8 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSimon Glass
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] virtio_gpu driver and relevant fix

Hi all,

This series added support for virtio-gpu device, it has been tested on QEMU riscv64 and aarch64.

I also fixed a problem in EFI GOP so it works with EFI applications as well.

There is a problem remaining. virtio_init() is being called too late to allow virtio-gpu to be selected as a vidconsole. My current appraoch is to register virtio_init in init_sequence_r, just after pci_init. Is this a viable approach? Should I introduce a config like CONFIG_VIRTIO_INIT_R to allow it to be selected by boards?

Thanks

---
Changes in v2:
- Fix left over in previous version (endian, unused variable)
- Fix Kconfig text
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Jiaxun Yang (2):
virtio: New virtio_gpu driver
efi: gop: Mark pixel_format as BLTONLY if we have sync hook

 drivers/virtio/Kconfig         |  29 +++
 drivers/virtio/Makefile        |   1 +
 drivers/virtio/virtio-uclass.c |   1 +
 drivers/virtio/virtio_gpu.c    | 302 +++++++++++++++++++++++++++++
 drivers/virtio/virtio_gpu.h    | 428 +++++++++++++++++++++++++++++++++++++++++
 include/efi_api.h              |   1 +
 include/virtio.h               |   4 +-
 lib/efi_loader/efi_gop.c       |   8 +-
 8 files changed, 772 insertions(+), 2 deletions(-)

---
base-commit: 21aa37ec1cd4a12e01e0e863ec9e99d703ce4d52
change-id: 20240513-virtio_gpu-abb4de685808

Best regards,

Signature · 1 line
Jiaxun Yang <[email protected]>