From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyUWd-0007Bf-Gs for qemu-devel@nongnu.org; Mon, 06 Aug 2012 17:07:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyUWc-0004Eg-M3 for qemu-devel@nongnu.org; Mon, 06 Aug 2012 17:07:43 -0400 Received: from gate.crashing.org ([63.228.1.57]:55457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyUWc-0004E6-Cp for qemu-devel@nongnu.org; Mon, 06 Aug 2012 17:07:42 -0400 Message-ID: <1344287257.24037.103.camel@pasglop> From: Benjamin Herrenschmidt Date: Tue, 07 Aug 2012 07:07:37 +1000 In-Reply-To: <501FB2AF.9040908@redhat.com> References: <1343188660.3715.41.camel@pasglop> <501FB2AF.9040908@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Subject: Re: [Qemu-devel] vga-pci and MMIO BAR List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On Mon, 2012-08-06 at 14:03 +0200, Gerd Hoffmann wrote: > Hacked up something like that a while back (patch attached). Doesn't > use DRM though, just plain old fbdev. Maybe you can reuse some bits > nevertheless. > > /me wonders what the advantage of using drm is for non-3D hardware? Thanks. Yeah fbdev is easier, but drm makes fedora happy :-) Also makes things easier to support RandR in X nowadays using KMS APIs etc... Besides I have evil plans to look at piping GL through the virtio tube :-) In fact, I've changed my focus and am now working on a virtio-vga (ie new device). It still does VBE/VGA legacy (so the BIOS stuff works etc...), but has BAR 0 as a virtio BAR on which I added a FB BAR. I'll post more when I have more to show, I'm juggling with many different things at the moment so it will take time. Cheers, Ben.