diff options
author | Emil Velikov <[email protected]> | 2016-09-07 16:04:42 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-10-18 17:06:04 +0100 |
commit | be239326aa4f9317d42ee07f0f51179c8b3d5b22 (patch) | |
tree | 35583a3d6427fb002685551079b05d1192382d41 /src/util/bitscan.h | |
parent | fd00aba5f4de6d05e599f01d90f2d19ebfc22edc (diff) |
loader: slim down loader_get_pci_id_for_fd implementation(s)
Currently mesa has three code paths in the loader - libudev, manual
sysfs and drm ioctl one.
Considering the issues we had with libudev - strip those down in favour
of the libdrm drm device API. The latter can be implemented in any way
depending on the platform and can be reused by others.
v2: Use correct message on drmGetDevice failure. (Nicolai)
Cc: Jonathan Gray <[email protected]>
Cc: Jean-Sébastien Pédron <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/util/bitscan.h')
0 files changed, 0 insertions, 0 deletions