<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/10/13 03:58 AM, Laércio de Sousa
wrote:<br>
</div>
<blockquote
cite="mid:CAFRdP=CMCPUXA8h3H3ArbTT2nWGKAe90qkgosqHpFt4Am+ng5w@mail.gmail.com"
type="cite">
<div class="gmail_quote">2013/9/30 Connor Behan <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:connor.behan@gmail.com"
target="_blank">connor.behan@gmail.com</a>></span><br>
<blockquote type="cite">
As of server 1.13, systems with DRM and Udev will have
BUS_PLATFORM as<br>
their primary bus type. However, drivers not implementing a<br>
platformProbe function will still create entities of type
BUS_PCI. We<br>
need to account for this when checking for the primary entity.<br>
<br>
Signed-off-by: Connor Behan <<a moz-do-not-send="true"
href="mailto:connor.behan@gmail.com">connor.behan@gmail.com</a>><br>
---<br>
hw/xfree86/common/xf86Bus.c | 4 +++-<br>
1 file changed, 3 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/hw/xfree86/common/xf86Bus.c
b/hw/xfree86/common/xf86Bus.c<br>
index e101537..329d0b3 100644<br>
--- a/hw/xfree86/common/xf86Bus.c<br>
+++ b/hw/xfree86/common/xf86Bus.c<br>
@@ -266,7 +266,9 @@ xf86IsEntityPrimary(int entityIndex)<br>
{<br>
EntityPtr pEnt = xf86Entities[entityIndex];<br>
<br>
- if (primaryBus.type != pEnt->bus.type)<br>
+ if (primaryBus.type == BUS_PLATFORM &&
pEnt->bus.type == BUS_PCI)<br>
+ return MATCH_PCI_DEVICES(pEnt->bus.id.pci,
primaryBus.id.plat->pdev);<br>
+ else if (primaryBus.type != pEnt->bus.type)<br>
return FALSE;<br>
<br>
switch (pEnt->bus.type) {</blockquote>
</div>
<div dir="ltr">Hi Connor!
<div><br>
</div>
<div>Is this related?</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66851">https://bugs.freedesktop.org/show_bug.cgi?id=66851</a><br>
</div>
</div>
</blockquote>
Thanks for the link!<br>
<br>
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.<br>
</body>
</html>