Skip to content

Brief description of the patch series

Lei Huang qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1virtio-gpu: customize EDID for vmshw/display/virtio-gpu-base.c hw/display/virtio-gpu.c include/hw/virtio/virtio-gpu.h+61 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] Brief description of the patch series

The purpose of this patch is customize refresh rate and resolution for the guest VM instead of being limited by the actual resolution of the host.

Although it is possible to configure the VM kernel cmdline to set the EDID, such as with drm.edid_firmware=edid/1920x1080.bin, this approach is very inconvenient for three reasons:

1.Some systems, like Android, cannot dynamically set the kernel cmdline and require recompiling the Android image.

2.If the guest VM's DRM driver is built-in, the EDID file also needs to be built-in. If it is placed in the filesystem, the DRM driver will fail to load the firmware because the filesystem is not yet mounted when the driver starts.

3.Some tools for generating EDID files like:https://github.com/akatrevorjay/edid-generator.git have a limitation where the maximum main clock can only be 655 MHz, making it impossible to generate an EDID file for resolutions like 3840x2160@120Hz.

The following patches are included in this series:

1. [PATCH 1/1] virtio-gpu: customize EDID for vms

Thank you for reviewing these patches.

Best regards,
Lei Huang
[email protected]

Lei Huang (1):
virtio-gpu: customize EDID for vms

 hw/display/virtio-gpu-base.c   | 41 ++++++++++++++++++++++++++++------
 hw/display/virtio-gpu.c        |  1 +
 include/hw/virtio/virtio-gpu.h | 26 +++++++++++++++++++++
 3 files changed, 61 insertions(+), 7 deletions(-)
Signature · 1 line
2.45.2