GPU (Linux): support advanced detection for nouveau driver

This commit is contained in:
Carter Li
2025-07-19 16:27:38 +08:00
parent 02aafbd7f4
commit 5c0ad030cc
4 changed files with 47 additions and 0 deletions
+2
View File
@@ -118,6 +118,8 @@ static const char* detectByDrm(const FFGPUOptions* options, FFlist* gpus)
ffDrmDetectXe(gpu, fd);
else if (ffStrStartsWith(driverName, "asahi"))
ffDrmDetectAsahi(gpu, fd);
else if (ffStrStartsWith(driverName, "nouveau"))
ffDrmDetectNouveau(gpu, fd);
else if (dev->bustype == DRM_BUS_PCI)
{
ffGPUDetectDriverSpecific(options, gpu, (FFGpuDriverPciBusId) {