Skip to content

Minimise gpu driver vm - #134

Open
erichchan999 wants to merge 3 commits into
mainfrom
min_gpu_driver_vm
Open

Minimise gpu driver vm#134
erichchan999 wants to merge 3 commits into
mainfrom
min_gpu_driver_vm

Conversation

@erichchan999

@erichchan999 erichchan999 commented Oct 11, 2024

Copy link
Copy Markdown

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 <eric.chan2@unsw.edu.au>
… mmio

Signed-off-by: Eric Chan <eric.chan2@unsw.edu.au>
Signed-off-by: Eric Chan <eric.chan2@unsw.edu.au>
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