diff --git a/src/detection/gpu/gpu.c b/src/detection/gpu/gpu.c index 6928ad2bc..7cff24c63 100644 --- a/src/detection/gpu/gpu.c +++ b/src/detection/gpu/gpu.c @@ -107,6 +107,7 @@ const char* detectByOpenGL(FFlist* gpus) { gpu->coreUsage = FF_GPU_CORE_USAGE_UNSET; gpu->dedicated = gpu->shared = (FFGPUMemory) { 0, 0 }; gpu->deviceId = 0; + gpu->pcieSpeed = FF_GPU_PCIE_SPEED_UNSET; FF_DEBUG("OpenGL reported renderer='%s', vendor='%s', version='%s'", gpu->name.chars, diff --git a/src/detection/gpu/gpu_linux.c b/src/detection/gpu/gpu_linux.c index 22039c1e9..f1cec0a53 100644 --- a/src/detection/gpu/gpu_linux.c +++ b/src/detection/gpu/gpu_linux.c @@ -546,6 +546,7 @@ static const char* detectOf(FFlist* gpus, FFstrbuf* buffer, FFstrbuf* drmDir, co gpu->type = FF_GPU_TYPE_INTEGRATED; gpu->dedicated.total = gpu->dedicated.used = gpu->shared.total = gpu->shared.used = FF_GPU_VMEM_SIZE_UNSET; gpu->frequency = FF_GPU_FREQUENCY_UNSET; + gpu->pcieSpeed = FF_GPU_PCIE_SPEED_UNSET; pciDetectDriver(&gpu->driver, drmDir, buffer, drmKey); diff --git a/src/detection/opencl/opencl.c b/src/detection/opencl/opencl.c index 14216ac09..74f8f6144 100644 --- a/src/detection/opencl/opencl.c +++ b/src/detection/opencl/opencl.c @@ -101,6 +101,7 @@ static const char* openCLHandleData(OpenCLData* data, FFOpenCLResult* result) { gpu->deviceId = (size_t) deviceID; gpu->frequency = FF_GPU_FREQUENCY_UNSET; gpu->coreUsage = FF_GPU_CORE_USAGE_UNSET; + gpu->pcieSpeed = FF_GPU_PCIE_SPEED_UNSET; if (data->ffclGetDeviceInfo(deviceID, CL_DEVICE_VERSION, sizeof(buffer), buffer, NULL) == CL_SUCCESS) { ffStrbufSetS(&gpu->platformApi, buffer); diff --git a/src/detection/vulkan/vulkan.c b/src/detection/vulkan/vulkan.c index 013c45726..a6b6fefc0 100644 --- a/src/detection/vulkan/vulkan.c +++ b/src/detection/vulkan/vulkan.c @@ -280,6 +280,7 @@ static const char* detectVulkan(FFVulkanResult* result) { gpu->temperature = FF_GPU_TEMP_UNSET; gpu->frequency = FF_GPU_FREQUENCY_UNSET; gpu->coreUsage = FF_GPU_CORE_USAGE_UNSET; + gpu->pcieSpeed = FF_GPU_PCIE_SPEED_UNSET; next: continue;