Skip to content

Commit 315bbb3

Browse files
committed
GPU (Linux): constantly use *_vis_*
1 parent 0576d4c commit 315bbb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/gpu/gpu_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static void pciDetectAmdSpecific(const FFGPUOptions* options, FFGPUResult* gpu,
8484
if (ffReadFileBuffer(pciDir->chars, buffer) && (value = ffStrbufToUInt(buffer, 0)))
8585
{
8686
ffStrbufSubstrBefore(pciDir, pciDir->length - (uint32_t) strlen("/mem_info_vis_vram_total"));
87-
ffStrbufAppendS(pciDir, "/mem_info_vram_used");
87+
ffStrbufAppendS(pciDir, "/mem_info_vis_vram_used");
8888
if (ffReadFileBuffer(pciDir->chars, buffer) && (value = ffStrbufToUInt(buffer, 0)))
8989
{
9090
if (gpu->type == FF_GPU_TYPE_DISCRETE)

0 commit comments

Comments
 (0)