diff options
author | Emil Velikov | 2016-07-13 03:43:26 -0500 |
---|---|---|
committer | Emil Velikov | 2016-07-20 17:44:40 -0500 |
commit | dd58044530ab57b8c2ee0a56008bc97bd1eecdd9 (patch) | |
tree | 38ab4ca3c893a3a06bb294b247297ebd7ef6b1bf /tests/drmdevice.c | |
parent | 6c056eecd56374b069ed24c81f59b6638cde2f3a (diff) | |
download | external-libgbm-dd58044530ab57b8c2ee0a56008bc97bd1eecdd9.tar.gz external-libgbm-dd58044530ab57b8c2ee0a56008bc97bd1eecdd9.tar.xz external-libgbm-dd58044530ab57b8c2ee0a56008bc97bd1eecdd9.zip |
tests/drmdevice: print out the full 'bus' and 'dev' strings
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests/drmdevice.c')
-rw-r--r-- | tests/drmdevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/drmdevice.c b/tests/drmdevice.c index c3363274..ac5f6ff8 100644 --- a/tests/drmdevice.c +++ b/tests/drmdevice.c | |||
@@ -44,8 +44,8 @@ print_device_info(drmDevicePtr device, int i) | |||
44 | if (device->bustype == DRM_BUS_PCI) { | 44 | if (device->bustype == DRM_BUS_PCI) { |
45 | printf("\t\tpci\n"); | 45 | printf("\t\tpci\n"); |
46 | printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain); | 46 | printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain); |
47 | printf("\t\t\tbu\t%02x\n", device->businfo.pci->bus); | 47 | printf("\t\t\tbus\t%02x\n", device->businfo.pci->bus); |
48 | printf("\t\t\tde\t%02x\n", device->businfo.pci->dev); | 48 | printf("\t\t\tdev\t%02x\n", device->businfo.pci->dev); |
49 | printf("\t\t\tfunc\t%1u\n", device->businfo.pci->func); | 49 | printf("\t\t\tfunc\t%1u\n", device->businfo.pci->func); |
50 | 50 | ||
51 | printf("\tdeviceinfo\n"); | 51 | printf("\tdeviceinfo\n"); |