qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] PXA2xx LCD vs. dedicated framebuffer
@ 2009-06-19 10:04 Thierry Reding
  2009-06-19 14:26 ` Filip Navara
  0 siblings, 1 reply; 3+ messages in thread
From: Thierry Reding @ 2009-06-19 10:04 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] PXA2xx LCD vs. dedicated framebuffer
  2009-06-19 10:04 [Qemu-devel] PXA2xx LCD vs. dedicated framebuffer Thierry Reding
@ 2009-06-19 14:26 ` Filip Navara
  2009-06-22  6:37   ` Thierry Reding
  0 siblings, 1 reply; 3+ messages in thread
From: Filip Navara @ 2009-06-19 14:26 UTC (permalink / raw)
  To: Thierry Reding; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1598 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] PXA2xx LCD vs. dedicated framebuffer
  2009-06-19 14:26 ` Filip Navara
@ 2009-06-22  6:37   ` Thierry Reding
  0 siblings, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2009-06-22  6:37 UTC (permalink / raw)
  To: Filip Navara; +Cc: qemu-devel

* 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-22  6:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19 10:04 [Qemu-devel] PXA2xx LCD vs. dedicated framebuffer Thierry Reding
2009-06-19 14:26 ` Filip Navara
2009-06-22  6:37   ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).