Re: [patch 2.6] remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c

From: Jon Smirl (jonsmirl_at_gmail.com)
Date: 07/14/05

  • Next message: K.R. Foley: "Re: Realtime Preemption, 2.6.12, Beginners Guide?"
    Date:	Thu, 14 Jul 2005 10:07:34 -0400
    To: Ivan Kokshaysky <ink@jurassic.park.msu.ru>, Greg KH <greg@kroah.com>, Andrew Morton <akpm@osdl.org>, Jon Smirl <jonsmirl@gmail.com>, linux-pci@atrey.karlin.mff.cuni.cz, linux-kernel@vger.kernel.org, Benjamin Herrenschmidt <benh@kernel.crashing.org>
    
    

    On 7/14/05, Russell King <rmk+lkml@arm.linux.org.uk> wrote:
    > On Thu, Jul 14, 2005 at 03:53:44PM +0400, Ivan Kokshaysky wrote:
    > > The setup-bus code doesn't work correctly for configurations
    > > with more than one display adapter in the same PCI domain.
    > > This stuff actually is a leftover of an early 2.4 PCI setup code
    > > and apparently it stopped working after some "bridge_ctl" changes.
    > > So the best thing we can do is just to remove it and rely on the fact
    > > that any firmware *has* to configure VGA port forwarding for the boot
    > > display device properly.
    >
    > What happens when there is no firmware?
    >
    > I'm sure this code would not have been added had there not been a reason
    > for it. Do we know why it was added?

    I'm don't think it has ever been working in the 2.6 series. If you are
    getting rid of it get rid of the #define PCI_BRIDGE_CTL_VGA in pci.h
    too since this code was the only user.

    Looking at the code as written I don't think it would work on my
    machine with multiple VGA devices on different buses. I use the system
    BIOS to enable the one I want and it sets up the bridges.

    This code is part of VGA arbitration which BenH is addressing with a
    more globally comprehensive patch. Ben's code will probably replace
    it.

    -- 
    Jon Smirl
    jonsmirl@gmail.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: K.R. Foley: "Re: Realtime Preemption, 2.6.12, Beginners Guide?"

    Relevant Pages