/sys/kernel/debug/dri there are couple folders in there, what are those numbers represent? are they bus numbers? PCI numbers?
is it possible to map that information with lshw or even lspci?
ps. I'm using CentOS
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
They map to device minors; you can see the correspondence with the numbers in
$ sudo ls /sys/kernel/debug/dri 0 128 64 $ ls -l /dev/dri/ total 0 crw-rw----+ 1 root video 226, 0 Sep 19 23:28 card0 crw-rw---- 1 root video 226, 64 Aug 30 18:44 controlD64 crw-rw----+ 1 root video 226, 128 Aug 30 18:44 renderD128
name file in each directory will tell you which driver and device these map to:
i915 dev=0000:00:02.0 master=pci:0000:00:02.0 unique=0000:00:02.0