tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xorg pci probing



In article <4D3210F5.3000709%gmx.de@localhost>,
Christoph Egger  <Christoph_Egger%gmx.de@localhost> wrote:
>-=-=-=-=-=-
>
>
>Hi!
>
>I have a machine with two PCI graphic cards:
>1x Radeon HD 4200
>1x Radeon HD 5600
>
>Starting X fails with the error message
>"Primary device is not PCI"
>
>Per discussion with macallen@ I implemented
>pci_device_is_boot_vga() in libpciaccess
>which uses a new ioctl().
>
>Attached are three patches:
>
>xorg_ioctl.diff  which implements the new ioctl
>xorg.diff        which enable the use of pci_device_is_boot_vga()
>xsrc.diff        which implements pci_device_is_boot_vga()
>
>
>The three patches let me start X on said machine
>and I also successfully tested them where X also
>starts w/o these patches.
>
>Any comments?
>

- Copyright should be 2011
- char pad[32] should probably be pad[64] since pci already eats 32 bytes.

christos



Home | Main Index | Thread Index | Old Index