qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] [PATCH] pci vga: Support VGA behind bridges
       [not found] ` <20130301040332.GA31112@morn.localdomain>
@ 2013-03-01 16:33   ` Alex Williamson
  0 siblings, 0 replies; only message in thread
From: Alex Williamson @ 2013-03-01 16:33 UTC (permalink / raw)
  To: Kevin O'Connor; +Cc: seabios, qemu-devel

On Thu, 2013-02-28 at 23:03 -0500, Kevin O'Connor wrote:
> On Thu, Feb 28, 2013 at 10:52:49AM -0700, Alex Williamson wrote:
> > We currently expect to find VGA devices on the root bus but we will
> > also support them below bridges iff the VGA routing across the bridges
> > is pre-configured.  This patch maintains that behavior, but also
> > enables SeaBIOS to enable VGA routing to the first VGA class device it
> > finds when there is no preconfigured device.  This allows us to
> > support VGA devices behind root ports and bridges without special
> > setup from QEMU.
> [...]
> > --- a/src/optionroms.c
> > +++ b/src/optionroms.c
> > @@ -439,13 +439,47 @@ vgarom_setup(void)
> 
> I don't think that optionroms.c is the right place for this logic.  On
> coreboot, Xen, and CSM, SeaBIOS shouldn't be touching the PCI config.
> It's only QEMU that would need this logic, so something like pciinit.c
> is where this logic should go.

Ok, I can look at finding a spot for it in pciinit.  Note though that
there's nothing QEMU specific about this, if other platforms are already
enabling a route to a VGA device, there's no change.  If something
sneaks through without a VGA device enabled, this should generically
enable the first device.  Thanks,

Alex

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-01 16:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130228175222.21912.94067.stgit@bling.home>
     [not found] ` <20130301040332.GA31112@morn.localdomain>
2013-03-01 16:33   ` [Qemu-devel] [PATCH] pci vga: Support VGA behind bridges Alex Williamson

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).