diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/gsr-info.c | 2 | ||||
| -rw-r--r-- | src/gsr-info.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gsr-info.c b/src/gsr-info.c index 861cd38..2bca3de 100644 --- a/src/gsr-info.c +++ b/src/gsr-info.c @@ -130,6 +130,8 @@ parse_gpu_info(ParseState *st, const char *line, size_t len) st->info->gpu_info.vendor = GSR_GPU_VENDOR_NVIDIA; else if (str_eq(val, vlen, "broadcom")) st->info->gpu_info.vendor = GSR_GPU_VENDOR_BROADCOM; + else if (str_eq(val, vlen, "apple")) + st->info->gpu_info.vendor = GSR_GPU_VENDOR_APPLE; } } diff --git a/src/gsr-info.h b/src/gsr-info.h index 8ce10d0..b6b6206 100644 --- a/src/gsr-info.h +++ b/src/gsr-info.h @@ -20,6 +20,7 @@ typedef enum { GSR_GPU_VENDOR_INTEL, GSR_GPU_VENDOR_NVIDIA, GSR_GPU_VENDOR_BROADCOM, + GSR_GPU_VENDOR_APPLE, } GsrGpuVendor; typedef enum { |
