Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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