mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 05:50:11 +01:00
drmdevice: print the correct host1x information
While fairly close, the host1x and platform are two separate things. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Tested-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
parent
8a3a8c15e2
commit
68bd236aa4
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue