diff options
| author | Marc-André Lureau | 2020-09-27 16:57:46 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2020-09-29 10:08:25 +0200 |
| commit | 6c8f847ac1356387692f224b48c7a83ac5918b5d (patch) | |
| tree | 39526abefb826b407f6886b57863a017d8681b3a /include/hw/display | |
| parent | virtio-gpu-3d: fix abnormal display after a warm reboot (diff) | |
| download | qemu-6c8f847ac1356387692f224b48c7a83ac5918b5d.tar.gz qemu-6c8f847ac1356387692f224b48c7a83ac5918b5d.tar.xz qemu-6c8f847ac1356387692f224b48c7a83ac5918b5d.zip | |
edid: fix physical display size computation
Divide the resolution by the DPI, and multiply to mm.
Note the computation done for edid[21/22] is correct (in cm).
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20200927145751.365446-2-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/hw/display')
0 files changed, 0 insertions, 0 deletions
