From 50b61eee47f3b498585e01f89bfd583b3407ec21 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sun, 2 Dec 2018 12:54:29 -0600 Subject: gpu: show details in report Signed-off-by: Burt P --- modules/devices/gpu.c | 4 ++-- 1 file 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" -- cgit v1.2.3