Re: [PATCH v2] drm/bochs: add edid support.

From
Gerd Hoffmann <kraxel@redhat.com>
Date
2018-10-18 05:11:02
  Hi,
quoted
Recent qemu (latest master branch, upcoming 3.1 release) got support
for EDID data.  This patch adds guest driver support.

EDID support in qemu is not (yet) enabled by default, so please use
'qemu -device VGA,edid=on' for testing.
The EDID never changes after boot?
Right now it doesn't.
Is there plans to let it?
Needs more virtual hardware changes, the stdvga has no support for
interrupts, so qemu can't signal an edid update to the guest.

So not not sure yet what to do about it.  Maybe add it later (but it's
not high priority).  Maybe simply recommend to use virtio-gpu instead.
quoted
+       kfree(bochs->edid);
+       bochs->edid = kmalloc(len, GFP_KERNEL);
Don't you need to free it somewhere?
Oh, yes, we leak that on driver unload.
I'll fix it.

cheers,
  Gerd
Thread (1 message) 1 message, 1 author, last reply 2018-10-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help