[PATCH libdrm 10/10] drmdevice: print the correct host1x information
Emil Velikov
emil.l.velikov at gmail.com
Mon Jun 25 17:36:26 UTC 2018
From: Emil Velikov <emil.velikov at collabora.com>
While fairly close, the host1x and platform are two separate things.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
tests/drmdevice.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/drmdevice.c b/tests/drmdevice.c
index e9e9d7f1..97ce8ff9 100644
--- a/tests/drmdevice.c
+++ b/tests/drmdevice.c
@@ -86,13 +86,13 @@ print_device_info(drmDevicePtr device, int i, bool print_revision)
compatible++;
}
} else if (device->bustype == DRM_BUS_HOST1X) {
- char **compatible = device->deviceinfo.platform->compatible;
+ char **compatible = device->deviceinfo.host1x->compatible;
printf("| +->host1x\n");
printf("| +->fullname\t%s\n", device->businfo.host1x->fullname);
printf("+->deviceinfo\n");
- printf(" +->platform\n");
+ printf(" +->host1x\n");
printf(" +->compatible\n");
while (*compatible) {
--
2.18.0
More information about the dri-devel
mailing list