From bd40d8756e264151fed282ec93874ee3ec0624b8 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Thu, 18 Jun 2026 19:33:40 +0800 Subject: [PATCH] GPU (FreeBSD): adds a missing var-init --- src/detection/gpu/gpu_bsd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/gpu/gpu_bsd.c b/src/detection/gpu/gpu_bsd.c index 922d95f16..607cfff3f 100644 --- a/src/detection/gpu/gpu_bsd.c +++ b/src/detection/gpu/gpu_bsd.c @@ -59,6 +59,7 @@ static const char* detectByPci(const FFGPUOptions* options, FFlist* gpus) { gpu->dedicated.total = gpu->dedicated.used = gpu->shared.total = gpu->shared.used = FF_GPU_VMEM_SIZE_UNSET; gpu->deviceId = ffGPUPciAddr2Id(pc->pc_sel.pc_domain, pc->pc_sel.pc_bus, pc->pc_sel.pc_dev, pc->pc_sel.pc_func); gpu->frequency = FF_GPU_FREQUENCY_UNSET; + gpu->pcieSpeed = FF_GPU_PCIE_SPEED_UNSET; ffGPUDetectDriverSpecific(options, gpu, (FFGpuDriverPciBusId) { .domain = (uint32_t) pc->pc_sel.pc_domain,