GPU (Linux): disable vmem detection

Ref #816
This commit is contained in:
李通洲
2024-04-29 13:27:57 +08:00
parent 39dfcb6f10
commit 29644ef904
+6 -2
View File
@@ -186,8 +186,12 @@ static const char* detectPci(const FFGPUOptions* options, FFlist* gpus, FFstrbuf
ffGPUParsePciIds(&pciids, subclassId, (uint16_t) vendorId, (uint16_t) deviceId, gpu);
}
pciDetectVmem(gpu, drmDir, buffer);
ffStrbufSubstrBefore(drmDir, drmDirPathLength);
// Temporarily disabled for now #816
if (false)
{
pciDetectVmem(gpu, drmDir, buffer);
ffStrbufSubstrBefore(drmDir, drmDirPathLength);
}
pciDetectVfreq(gpu, drmDir, buffer);
ffStrbufSubstrBefore(drmDir, drmDirPathLength);