gpu_metrics: send v1_0 to sysfs instead

This commit is contained in:
FlightlessMango 2022-05-11 15:34:54 +02:00
parent bd2f7b24b8
commit 5167e72649

View File

@ -54,6 +54,7 @@ bool amdgpu_check_metrics(const std::string& path)
switch (header.structure_size)
{
case 80: // v1_0, not naturally aligned
return false;
case 96: // v1_1
case 104: // v1_2
case sizeof(gpu_metrics_v1_3): // v2.0, v2.1