[Linux-fbdev-devel] Re: Who is stomping PCI config space?
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Mar 3 22:40:59 PST 2005
On Thu, 2005-03-03 at 22:03 -0500, Jon Smirl wrote:
> Hopefully someone who knows what is going on with VT switching and how
> hardware gets enabled will respond and we can get this fixed in the
> server. I see Zoltan's patch but we shouldn't have to tell X to leave
> hardware alone that doesn't belong to it. X just has no business
> messing with cards it does not own.
>
> Meanwhile I am forced to write to PCI config space and reenable IO
> access from inside my interrupt handler. Yuck, yuck, yuck!!!
Well, that shows why we need this arbitration for who gets the VGA
enable bits in the kernel :)
X disables any other VGA card IO/MEM in the system so that at one given
point in time, only one of them will decode VGA cycles. Wether it has
those cards to drive in it's config or not doesn't matter, the problem
at the bus level is the same.
Ben.
More information about the xorg
mailing list