Skip to content

Commit

Permalink
acommodate card1 in amdgpu test
Browse files Browse the repository at this point in the history
  • Loading branch information
jritter committed Jun 9, 2024
1 parent 6241472 commit 9d4bdb4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sysfs/class_drm_amdgpu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9d4bdb4

Please sign in to comment.