From: Lei Huang <Lei.Huang@amd.com>
To: <mst@redhat.com>
Cc: <leihuang@amd.com>, <pierre-eric.pelloux-prayer@amd.com>,
<ken.xue@amd.com>, <qemu-devel@nongnu.org>,
Lei Huang <Lei.Huang@amd.com>
Subject: [PATCH v2 0/1] Brief description of the patch series
Date: Thu, 1 Aug 2024 10:53:32 +0800 [thread overview]
Message-ID: <20240801025334.1610-1-Lei.Huang@amd.com> (raw)
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
Lei.Huang@amd.com
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(-)
--
2.45.2
next reply other threads:[~2024-08-01 7:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-01 2:53 Lei Huang [this message]
2024-08-01 2:53 ` [PATCH v2 1/1] virtio-gpu: customize EDID for vms Lei Huang
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=20240801025334.1610-1-Lei.Huang@amd.com \
--to=lei.huang@amd.com \
--cc=ken.xue@amd.com \
--cc=leihuang@amd.com \
--cc=mst@redhat.com \
--cc=pierre-eric.pelloux-prayer@amd.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).