Re: In "pci_fixup_video" check if this is or should be the primaryvideo devi

From: Bjorn Helgaas
Date: Wed Jan 15 2014 - 16:50:37 EST


On Wed, Jan 15, 2014 at 12:36 PM, Sander Eikelenboom
<linux@xxxxxxxxxxxxxx> wrote:
> ...
> And that's just what my patch does ..
>
> + if (!vga_default_device() || pdev == vga_default_device()) {
>
> If we don't know the vga_default_device ... because we don't have that knowlegde
> or
> if this is actually the vga_default_device ... because we do have that knowledge ..
>
> and only then .. run the fixup code and set this device as the vga_default_device
>
>
> So this change actually makes the code adhere to the comment already above it .. saying it should only be applied to the vga_default_device aka
> boot video device.
>
> Also added Bjorn and linux-pci to the CC .. should have done that right away ..
> sorry for that.

Can you resend your patch to linux-pci? I don't think it made it there.

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