aboutsummaryrefslogtreecommitdiff
path: root/modules/devices
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2018-09-09 14:53:21 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2018-09-26 20:51:53 -0700
commitda50fabd1897462531153a5a27366eb0ad7d0413 (patch)
tree7e4a42939f1e5958742555619cec3e4bd3ba1046 /modules/devices
parent62964b789d933e68e4024e165b20288471a0029c (diff)
gpu: show more dt info
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/devices')
-rw-r--r--modules/devices/gpu.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/modules/devices/gpu.c b/modules/devices/gpu.c
index 05fbac7e..429b0b0f 100644
--- a/modules/devices/gpu.c
+++ b/modules/devices/gpu.c
@@ -177,14 +177,22 @@ int _dt_soc_gpu(gpud *gpu) {
gpu_list = h_strdup_cprintf("$%s$%s=%s\n", gpu_list, key, key, name);
gchar *str = g_strdup_printf("[%s]\n"
/* Location */ "%s=%s\n"
- /* dt compat */ "%s=%s\n"
/* Vendor */ "%s=%s\n"
- /* Device */ "%s=%s\n",
+ /* Device */ "%s=%s\n"
+ "[%s]\n"
+ /* Path */ "%s=%s\n"
+ /* Compat */ "%s=%s\n"
+ /* Status */ "%s=%s\n"
+ /* Name */ "%s=%s\n",
_("Device Information"),
_("Location"), gpu->location,
- _("DT Compatibility"), gpu->dt_compat,
_("Vendor"), vendor,
- _("Device"), device
+ _("Device"), device,
+ _("Device Tree Node"),
+ _("Path"), gpu->dt_path,
+ _("Compatible"), gpu->dt_compat,
+ _("Status"), gpu->dt_status,
+ _("Name"), gpu->dt_name
);
moreinfo_add_with_prefix("DEV", key, str); /* str now owned by morinfo */
return 1;