All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] virtio_gpu driver and relevant fix
@ 2024-05-24 13:02 Jiaxun Yang
  2024-05-24 13:02 ` [PATCH v2 1/2] virtio: New virtio_gpu driver Jiaxun Yang
  2024-05-24 13:02 ` [PATCH v2 2/2] efi: gop: Mark pixel_format as BLTONLY if we have sync hook Jiaxun Yang
  0 siblings, 2 replies; 8+ messages in thread
From: Jiaxun Yang @ 2024-05-24 13:02 UTC (permalink / raw)
  To: u-boot
  Cc: Tom Rini, Bin Meng, Heinrich Schuchardt, Ilias Apalodimas,
	Jiaxun Yang

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

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
Changes in v2:
- Fix left over in previous version (endian, unused variable)
- Fix Kconfig text
- Link to v1: https://lore.kernel.org/r/20240517-virtio_gpu-v1-0-6353b87472c7@flygoat.com

---
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,
-- 
Jiaxun Yang <jiaxun.yang@flygoat.com>


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

end of thread, other threads:[~2024-07-21 10:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-24 13:02 [PATCH v2 0/2] virtio_gpu driver and relevant fix Jiaxun Yang
2024-05-24 13:02 ` [PATCH v2 1/2] virtio: New virtio_gpu driver Jiaxun Yang
2024-07-17 14:33   ` Jiaxun Yang
2024-07-19 15:05     ` Simon Glass
2024-07-20  6:57       ` Jiaxun Yang
2024-07-21 10:08         ` Simon Glass
2024-07-21 10:41           ` Jiaxun Yang
2024-05-24 13:02 ` [PATCH v2 2/2] efi: gop: Mark pixel_format as BLTONLY if we have sync hook Jiaxun Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.