[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/3] mac_newworld: enable access to EDID data fo
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 2/3] mac_newworld: enable access to EDID data for the VGA device |
Date: |
Tue, 18 Dec 2018 07:12:13 +0100 |
User-agent: |
NeoMutt/20180716 |
Hi,
> >> Otherwise a guest driver that assumes it is always present and tries
> >> to read from that area of memory will crash.
> >
> > Oh, reading should work no matter what. You just don't find valid edid
> > data there if it is turned off.
>
> Thanks for the info. My current use case for this is passing a set of
> possible guest
> display resolutions from the host to the guest driver, rather than using an
> internal
> hard-coded list. I guess that over time QEMU could become "smarter" about
> building
> the list of supported resolutions depending upon the capabilities of the host?
Yes, that is the plan. There are xres and yres properties already,
which will show up as preferred resolution in the edid blob.
The generator also supports to set the maximum display resolution, and
the display dpi (needed when we add hidpi support some day).
stdvga doesn't support to change the edid dynamically (i.e. on window
resize) because the hardware doesn't support interrupts, so we can't
easily signal edid updates to the guest.
cheers,
Gerd
[Qemu-devel] [PATCH 1/3] MAINTAINERS: add myself as maintainer for Mac Old World and New World machines, Mark Cave-Ayland, 2018/12/07