All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] edid: Added support for 4k@60 Hz monitor
@ 2021-08-11  1:47 Singh, Satyeshwar
  0 siblings, 0 replies; only message in thread
From: Singh, Satyeshwar @ 2021-08-11  1:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: kraxel

[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]

Previously, the large modes (>1080p) that were generated by Qemu in its EDID
were all 50 Hz. If we provide them to a Guest OS and the user selects
one of these modes, then the OS by default only gets 50 FPS. This is
especially true for Windows OS. With this patch, we are now exposing a
3840x2160@60 Hz which will allow the guest OS to get 60 FPS.

Cc: Gerd Hoffmann kraxel@redhat.com<mailto:kraxel@redhat.com>
Signed-off-by: Satyeshwar Singh satyeshwar.singh@intel.com<mailto:satyeshwar.singh@intel.com>
---
hw/display/edid-generate.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/hw/display/edid-generate.c b/hw/display/edid-generate.c
index f2b874d5e3..397af0bd63 100644
--- a/hw/display/edid-generate.c
+++ b/hw/display/edid-generate.c
@@ -24,6 +24,9 @@ static const struct edid_mode {
     { .xres = 2048,   .yres = 1152 },
     { .xres = 1920,   .yres = 1080,   .dta =  31 },
+    /* dea/dta extension timings (all @ 60 Hz) */
+    { .xres = 3840,   .yres = 2160,   .dta =  97 },
+
     /* additional standard timings 3 (all @ 60Hz) */
     { .xres = 1920,   .yres = 1200,   .xtra3 = 10,   .bit = 0 },
     { .xres = 1600,   .yres = 1200,   .xtra3 =  9,   .bit = 2 },
--
2.21.3


[-- Attachment #2: Type: text/html, Size: 6754 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-11  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11  1:47 [PATCH 1/1] edid: Added support for 4k@60 Hz monitor Singh, Satyeshwar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.