On 01/10/13 03:58 AM, Laércio de Sousa wrote: > 2013/9/30 Connor Behan <[email protected] > <mailto:[email protected]>> >> As of server 1.13, systems with DRM and Udev will have BUS_PLATFORM as >> their primary bus type. However, drivers not implementing a >> platformProbe function will still create entities of type BUS_PCI. We >> need to account for this when checking for the primary entity. >> >> Signed-off-by: Connor Behan <[email protected] >> <mailto:[email protected]>> >> --- >> hw/xfree86/common/xf86Bus.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c >> index e101537..329d0b3 100644 >> --- a/hw/xfree86/common/xf86Bus.c >> +++ b/hw/xfree86/common/xf86Bus.c >> @@ -266,7 +266,9 @@ xf86IsEntityPrimary(int entityIndex) >> { >> EntityPtr pEnt = xf86Entities[entityIndex]; >> >> - if (primaryBus.type != pEnt->bus.type) >> + if (primaryBus.type == BUS_PLATFORM && pEnt->bus.type == BUS_PCI) >> + return MATCH_PCI_DEVICES(pEnt->bus.id.pci, >> primaryBus.id.plat->pdev); >> + else if (primaryBus.type != pEnt->bus.type) >> return FALSE; >> >> switch (pEnt->bus.type) { > Hi Connor! > > Is this related? > > https://bugs.freedesktop.org/show_bug.cgi?id=66851 Thanks for the link!
I would say these are both regressions that crept into the platform bus support. I found out about the primary entity problem on a single seat setup. The int10 module did not find my VBIOS because it thought my primary card was secondary.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
