OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c056ee
)
tests/drmdevice: print out the full 'bus' and 'dev' strings
author
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 13 Jul 2016 08:43:26 +0000
(09:43 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 20 Jul 2016 22:44:40 +0000
(23:44 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
tests/drmdevice.c
patch
|
blob
|
history
diff --git
a/tests/drmdevice.c
b/tests/drmdevice.c
index
c336327
..
ac5f6ff
100644
(file)
--- a/
tests/drmdevice.c
+++ b/
tests/drmdevice.c
@@
-44,8
+44,8
@@
print_device_info(drmDevicePtr device, int i)
if (device->bustype == DRM_BUS_PCI) {
printf("\t\tpci\n");
printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain);
- printf("\t\t\tbu\t%02x\n", device->businfo.pci->bus);
- printf("\t\t\tde\t%02x\n", device->businfo.pci->dev);
+ printf("\t\t\tbu
s
\t%02x\n", device->businfo.pci->bus);
+ printf("\t\t\tde
v
\t%02x\n", device->businfo.pci->dev);
printf("\t\t\tfunc\t%1u\n", device->businfo.pci->func);
printf("\tdeviceinfo\n");