Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimise gpu driver vm #134

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Minimise gpu driver vm #134

wants to merge 3 commits into from

Conversation

erichchan999
Copy link

@erichchan999 erichchan999 commented Oct 11, 2024

This minimises the gpu driver VM in terms of the linux dts and what's passed through to the VMM, for both odroidc4 and qemu. This is not an exhaustive minimisation of driver VMs running linux kernels, that is a separate effort. linux_config specifies the newly minimised kernel image which runs v6.1 (commit SHA: 830b3c68c1fb1e9176028d02ef86f3cf76aa2476) from v5.18 previously.

The QEMU example also now uses mmio instead of pci, as we thought previously that virtio-gpu-mmio did not exist.

Note that the newly minimised linux kernel image has a pending issue!! for odroidc4 only, where each frame seems to be smaller and only take up the top left quadrant of the screen. This is weird to me because we already had scaling code to handle different screen resolutions, and I haven't yet figured out how a different linux kernel image can affect this.

Attached is newly minimised linux kernel image. To use it, build the example. Unzip the image and replace the linux image in the build directory, then rebuild.
Image.gz

Attached is the patch for the out-of-tree lt8619c driver needed to build the linux kernel. Unzip to apply.
lt8619c.patch.gz

@erichchan999 erichchan999 changed the title Min gpu driver vm Minimise gpu driver vm Oct 11, 2024
Signed-off-by: Eric Chan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants