VGA Arbiter

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Oct 29 13:04:28 PDT 2007


> When someone calls the function "target" we check if the device is
> already on the list. If not, then we call vga_arbiter_add_pci_device.
> I know this is not the correct way, but it allows us to use it as a
> module =). When we go back to a kernel patch we'll be able to do it
> correctly. (Tiago says he knows how to do it).

Maybe the module init should scan all PCI devices and add the VGA
ones... the register/unregiser bus notifier thing would work from a
module too.

> We're using a module because testing kernel modules is way much easier
> than testing kernel patches. We're just trying to make a proof of
> concept.
> 
> And about the repos: it would be good to have a public repo because
> everyone would be able to help =)
> 
> After we have some good proof of concept we'll send an e-mail to the
> lkml to see  what they think about it.

Ben.





More information about the xorg mailing list