Get PCI vendor/device ID from userland

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

While looking at pipe_loader_drm.c in Mesa, I see that udev is used on Linux to get the PCI ID of the device. I understand that getting this information is a general need in libdrm, Mesa, and so on.

Is there a portable way to obtain this?

If not, what do you think about adding an ioctl in drm to get the PCI ID of an opened device?

--
Jean-Sébastien Pédron
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux