From: Jiaxun Yang <jiaxun.yang@flygoat.com>
To: u-boot@lists.denx.de
Cc: Tom Rini <trini@konsulko.com>, Bin Meng <bmeng.cn@gmail.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Jiaxun Yang <jiaxun.yang@flygoat.com>
Subject: [PATCH v2 0/2] virtio_gpu driver and relevant fix
Date: Fri, 24 May 2024 14:02:38 +0100 [thread overview]
Message-ID: <20240524-virtio_gpu-v2-0-b198c35b1fd2@flygoat.com> (raw)
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>
next reply other threads:[~2024-05-24 13:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 13:02 Jiaxun Yang [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240524-virtio_gpu-v2-0-b198c35b1fd2@flygoat.com \
--to=jiaxun.yang@flygoat.com \
--cc=bmeng.cn@gmail.com \
--cc=ilias.apalodimas@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox