Skip to content

Commit

Permalink
Merge pull request #1 from kojq/kojq-patch-1
Browse files Browse the repository at this point in the history
 GPU (Linux): fix regression for drmKey arg
  • Loading branch information
kojq committed May 21, 2024
2 parents 59c853f + 3faad38 commit 61f0b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detection/gpu/gpu_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ static const char* drmDetectGPUs(const FFGPUOptions* options, FFlist* gpus)
ffStrbufSubstrBefore(&drmDir, drmDir.length - (uint32_t) strlen("/modalias"));

if (ffStrbufStartsWithS(&buffer, "pci:"))
detectPci(options, gpus, &buffer, &drmDir, entry->d_name);
detectPci(options, gpus, &buffer, &drmDir, NULL);
#ifdef __aarch64__
else if (ffStrbufStartsWithS(&buffer, "of:"))
detectAsahi(gpus, &buffer, &drmDir, entry->d_name);
Expand Down

0 comments on commit 61f0b6c

Please sign in to comment.