[v0.11] Print available more information for iGPU

This commit is contained in:
Dr-Noob
2021-11-27 11:22:16 +01:00
parent 8db60b614d
commit b00050e739
7 changed files with 49 additions and 29 deletions

View File

@@ -359,7 +359,12 @@ bool print_gpufetch_intel(struct gpu_info* gpu, STYLE s, struct color** cs, stru
return false;
char* gpu_name = get_str_gpu_name(gpu);
char* uarch = get_str_uarch(gpu->arch);
char* manufacturing_process = get_str_process(gpu->arch);
setAttribute(art, ATTRIBUTE_NAME, gpu_name);
setAttribute(art, ATTRIBUTE_UARCH, uarch);
setAttribute(art, ATTRIBUTE_TECHNOLOGY, manufacturing_process);
const char** attribute_fields = ATTRIBUTE_FIELDS;
uint32_t longest_attribute = longest_attribute_length(art, attribute_fields);