<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 12:07 AM, Eric Anholt <span dir="ltr"><<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Stéphane Marchesin <<a href="mailto:marcheu@chromium.org" target="_blank">marcheu@chromium.org</a>> writes:<br>
<br>
> On systems without libudev, the loader_get_pci_id_for_fd() call will<br>
> return 0, which will trigger the drmGetVersion logic. Sadly, this<br>
> logic assumes that the kernel driver name matches the dri driver name,<br>
> which is not the case on recent intel GPUs (for example i965 dri<br>
> driver and i915 kernel module).<br>
><br>
> This patch changes this logic by making it conditional on a list of<br>
> known non-pci drivers (freedreno and tegra). This fixes dri on machines<br>
> without libudev.<br>
<br>
</div>So, why are Linux people building without libudev? Is it just that we<br>
forgot to make libudev-devel required in <a href="http://configure.ac" target="_blank">configure.ac</a>?<br></blockquote><div><br></div><div>I talked with krh on irc, he seemed opposed to it. But yes, that would be fine by me. That said, it doesn't answer the question of other OSes. What should we do there?</div>
<div><br></div><div>Stéphane</div><div><br></div></div></div></div>