[Mesa-dev] [PATCH] vulkan/wsi: use the drmGetDevice2() API
emil.l.velikov at gmail.com
Wed Oct 24 17:24:19 UTC 2018
On Mon, 22 Oct 2018 at 18:13, Jason Ekstrand <jason at jlekstrand.net> wrote:
> On Mon, Oct 22, 2018 at 12:10 PM Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> From: Emil Velikov <emil.velikov at collabora.com>
>> On older kernels, the drmGetDevice() call will wake up all the GPUs
>> on the system, while fetching the PCI revision.
>> Use the 2 version of the API and pass flags == 0, so we don't fetch the
>> device PCI revision, since we don't need that information.
> As long as we still get all the PCI address information,
> Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Indeed it does, thanks.
> I had no idea one of them work up the device and the other didn't...
Right, will add some documentation in a moment.
More information about the mesa-dev