From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHf2e-00060W-CS for qemu-devel@nongnu.org; Fri, 19 Jun 2009 10:26:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHf2Z-0005sL-Qp for qemu-devel@nongnu.org; Fri, 19 Jun 2009 10:26:07 -0400 Received: from [199.232.76.173] (port=58799 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHf2Z-0005s9-Nw for qemu-devel@nongnu.org; Fri, 19 Jun 2009 10:26:03 -0400 Received: from mail-ew0-f220.google.com ([209.85.219.220]:50760) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHf2Z-0000ng-9V for qemu-devel@nongnu.org; Fri, 19 Jun 2009 10:26:03 -0400 Received: by ewy20 with SMTP id 20so2013648ewy.34 for ; Fri, 19 Jun 2009 07:26:01 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20090619100412.GA5683@avionic-design.de> References: <20090619100412.GA5683@avionic-design.de> Date: Fri, 19 Jun 2009 16:26:01 +0200 Message-ID: <5b31733c0906190726obea19d3sf0d0a241ad545c97@mail.gmail.com> Subject: Re: [Qemu-devel] PXA2xx LCD vs. dedicated framebuffer From: Filip Navara Content-Type: multipart/alternative; boundary=0016e6dbdea7bf30a5046cb44d09 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thierry Reding Cc: qemu-devel@nongnu.org --0016e6dbdea7bf30a5046cb44d09 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --0016e6dbdea7bf30a5046cb44d09 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Jun 19, 2009 at 12:04 PM, Thierry Re= ding <thierry.reding@avionic-design.de> wrote:
I'm working on adding support to QEMU for some of the boards that the c= ompany
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 controll= er 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 commen= t
out the PXA2xx LCD initialization or patch the sources to disable the LCD using a flag during PXA2xx setup.

Thierry
=A0
As far as I know there's = currently no way to achieve it except for commenting out the code or changi= ng the order of initialization. Note that once the "devtree" patc= h 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. S= uch machine description doesn't require recompiling of whole QEMU to us= e it.

Best regards,
Filip Navara

--0016e6dbdea7bf30a5046cb44d09--