Merge pull request #960 from w8jcik/fix/pre-snb-intel-gpu

This commit is contained in:
Jakob P. Liljenberg
2024-11-08 17:22:45 +01:00
committed by GitHub

View File

@@ -492,7 +492,7 @@ static int get_num_gts(uint64_t type)
errno = 0;
for (cnt = 0; cnt < MAX_GTS; cnt++) {
fd = igt_perf_open(type, __I915_PMU_REQUESTED_FREQUENCY(cnt));
fd = igt_perf_open(type, __I915_PMU_INTERRUPTS(cnt));
if (fd < 0)
break;