[Linux-fbdev-devel] Re: Who is stomping PCI config space?
eich at suse.de
Mon Mar 7 03:19:02 PST 2005
Benjamin Herrenschmidt writes:
> > How do we deal with interrupts from VGA cards that we don't have a
> > driver for?
> We don't get any, do we ? If we get an interrupt we don't have a driver
> for, the system dies usually ;) Well, unless it's an edge interrupt, in
> which case we can just drop it on the floor, but PCI interrupts are
Usually VGA chips are capable of sending interrupts. At least the VGA
specs had a bit where interrupts can be enabled/disabled.
I'm surprised that this has not been an issue yet as I'm not sure if
the BIOS POST always leaves them disabled. For PCI chips they probalbly
> > We don't service interrupts in this case either.
> > Can't we unregister the interrupt handler until everything
> > is set up right? Maybe a dump idea...
> > Also there is a generic VGA register to control interrupts.
> We have reached the end of my VGA knowledge, but I seriously doubt a VGA
> card will issue interrupts if not previously programmed to do so... So
> we probably don't have to bother. We only care about interrupts that we
> have a use for, that is interrupts triggered by cards upon request of
> their driver, for things like DMA/AGP command buffer operations, vblank,
> monitor detection, ...
The classic use for interrupts has been vblank. We have never used it
and I've heard reports from some people who have played around with this
that on some VGA chips it did what it was supposed to on others it didn't.
More information about the xorg