diff --git a/sysfs/class_drm_amdgpu_test.go b/sysfs/class_drm_amdgpu_test.go index c219ccd2..c44b3417 100644 --- a/sysfs/class_drm_amdgpu_test.go +++ b/sysfs/class_drm_amdgpu_test.go @@ -46,6 +46,16 @@ func TestClassDRMCardAMDGPUStats(t *testing.T) { PowerDPMForcePerformanceLevel: "manual", UniqueID: "0123456789abcdef", }, + { + Name: "card1", + GPUBusyPercent: 0, + MemoryGTTSize: 0, + MemoryGTTUsed: 0, + MemoryVisibleVRAMSize: 0, + MemoryVisibleVRAMUsed: 0, + MemoryVRAMSize: 0, + MemoryVRAMUsed: 0, + }, } if !reflect.DeepEqual(classDRMCardStats, drmTest) {