Skip to content

Commit 01c202b

Browse files
committed
GPU (Linux): actually fix name detection of Intel Arc GPUs
Fix #1177
1 parent 0c2953a commit 01c202b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/detection/gpu/gpu_linux.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ static void pciDetectIntelSpecific(FFGPUResult* gpu, FFstrbuf* pciDir, FFstrbuf*
204204
// Works for Intel GPUs
205205
// https://patchwork.kernel.org/project/intel-gfx/patch/1422039866-11572-3-git-send-email-ville.syrjala@linux.intel.com/
206206

207-
if (ffStrbufStartsWithS(&gpu->name, "Intel "))
208-
ffStrbufSubstrAfter(&gpu->name, (uint32_t) strlen("Intel "));
209-
210207
if ((coreName->chars[0] == 'D' || coreName->chars[0] == 'S') &&
211208
coreName->chars[1] == 'G' &&
212209
ffCharIsDigit(coreName->chars[2]))

0 commit comments

Comments
 (0)