[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181018051102.7hkrtj5siw6fss2y@sirius.home.kraxel.org>
Date: Thu, 18 Oct 2018 07:11:02 +0200
From: Gerd Hoffmann <kraxel@...hat.com>
To: Dave Airlie <airlied@...il.com>
Cc: dri-devel <dri-devel@...ts.freedesktop.org>,
Dave Airlie <airlied@...ux.ie>,
LKML <linux-kernel@...r.kernel.org>,
"open list:VIRTIO CORE, NET..."
<virtualization@...ts.linux-foundation.org>
Subject: Re: [PATCH v2] drm/bochs: add edid support.
Hi,
> > 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.
> > + 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
Powered by blists - more mailing lists