From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MId9C-00081X-JC for qemu-devel@nongnu.org; Mon, 22 Jun 2009 02:36:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MId97-0007zs-Tg for qemu-devel@nongnu.org; Mon, 22 Jun 2009 02:36:53 -0400 Received: from [199.232.76.173] (port=40791 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MId97-0007zp-QF for qemu-devel@nongnu.org; Mon, 22 Jun 2009 02:36:49 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:56166) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MId97-0000Hq-8R for qemu-devel@nongnu.org; Mon, 22 Jun 2009 02:36:49 -0400 Date: Mon, 22 Jun 2009 08:37:08 +0200 From: Thierry Reding Subject: Re: [Qemu-devel] PXA2xx LCD vs. dedicated framebuffer Message-ID: <20090622063708.GA18443@avionic-design.de> References: <20090619100412.GA5683@avionic-design.de> <5b31733c0906190726obea19d3sf0d0a241ad545c97@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b31733c0906190726obea19d3sf0d0a241ad545c97@mail.gmail.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Filip Navara Cc: qemu-devel@nongnu.org * Filip Navara wrote: > On Fri, Jun 19, 2009 at 12:04 PM, Thierry Reding < > thierry.reding@avionic-design.de> wrote: > > > I'm working on adding support to QEMU for some of the boards that the > > company > > I work for develops. The boards have a PXA270 and an FPGA to implement > > additional functionality, such as a dedicated graphics controller. The > > problem I'm facing now is that whenever the dedicated graphics controller > > is > > initialized in QEMU it registers as a secondary DisplayState because the > > PXA2xx LCD is already present. > > > > Is there a way to make QEMU ignore the PXA2xx LCD or prefer the dedicated > > controller as primary DisplayState? The only way I could find was to > > comment > > out the PXA2xx LCD initialization or patch the sources to disable the LCD > > using a flag during PXA2xx setup. > > > > Thierry > > > As far as I know there's currently no way to achieve it except for > commenting out the code or changing the order of initialization. Note that > once the "devtree" patch is merged and the PXA2xx code is migrated to it > then it will be possible to create a machine description that will not > contain the LCD controller. Such machine description doesn't require > recompiling of whole QEMU to use it. > > Best regards, > Filip Navara Great! I guess I can wait and work around the problem in the meantime by commenting out the code. Thanks. Thierry