+ if (subtype & SENSOR_TYPE_GRAPHICS)
+ sprintf(name, "GPU%d graphics", id);
+ else if (subtype & SENSOR_TYPE_MEMORY)
+ sprintf(name, "GPU%d memory", id);
+ else if (subtype & SENSOR_TYPE_VIDEO)
+ sprintf(name, "GPU%d video", id);
+ else /* if (subtype & SENSOR_TYPE_PCIE) */
+ sprintf(name, "GPU%d PCIe", id);
+