Skip to content
Snippets Groups Projects
Commit f0602b70 authored by Satyeshwar Singh's avatar Satyeshwar Singh Committed by Gerd Hoffmann
Browse files

edid: Added support for 4k@60 Hz monitor


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>
Signed-off-by: default avatarSatyeshwar Singh <satyeshwar.singh@intel.com>
Message-Id: <20211116221103.27128-1-dongwon.kim@intel.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent de72c4b7
No related branches found
No related tags found
No related merge requests found
......@@ -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 },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment