Commit 68bd236a authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov
Browse files

drmdevice: print the correct host1x information



While fairly close, the host1x and platform are two separate things.
Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.velikov@collabora.com>
Tested-by: Robert Foss's avatarRobert Foss <robert.foss@collabora.com>
Reviewed-by: Robert Foss's avatarRobert Foss <robert.foss@collabora.com>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
parent 8a3a8c15
......@@ -85,13 +85,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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment