diff options
author | Burt P <pburt0@gmail.com> | 2018-12-02 12:54:29 -0600 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2018-12-03 02:28:18 -0800 |
commit | 50b61eee47f3b498585e01f89bfd583b3407ec21 (patch) | |
tree | 6f4ede03d03996e5bd9aab7c28cd472b42b2ed84 /modules | |
parent | df174e34e8e039abbf4187812dd4aded095e3a2b (diff) |
gpu: show details in report
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/devices/gpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/devices/gpu.c b/modules/devices/gpu.c index eb921bb3..263edb30 100644 --- a/modules/devices/gpu.c +++ b/modules/devices/gpu.c @@ -82,7 +82,7 @@ static void _gpu_pci_dev(gpud* gpu) { key = g_strdup_printf("GPU%s", gpu->id); gpu_summary_add((gpu->nice_name) ? gpu->nice_name : name); - gpu_list = h_strdup_cprintf("$%s$%s=%s\n", gpu_list, key, gpu->id, name); + gpu_list = h_strdup_cprintf("$!%s$%s=%s\n", gpu_list, key, gpu->id, name); gchar *vendor_device_str; if (p->vendor_id == p->sub_vendor_id && p->device_id == p->sub_device_id) { @@ -214,7 +214,7 @@ int _dt_soc_gpu(gpud *gpu) { opp_str = strdup(""); gpu_summary_add((gpu->nice_name) ? gpu->nice_name : name); - gpu_list = h_strdup_cprintf("$%s$%s=%s\n", gpu_list, key, key, name); + 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" /* Vendor */ "%s=%s\n" |