From 8141fd7342e85598bc65c49f7ab48e24d12b9f4d Mon Sep 17 00:00:00 2001 From: Christoph Pillmayer Date: Tue, 24 Mar 2026 13:09:44 +0100 Subject: [PATCH] pan/perf: Remove kmod version restriction Both kmod backends implement the perf interface now. --- src/panfrost/perf/pan_perf.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/panfrost/perf/pan_perf.c b/src/panfrost/perf/pan_perf.c index 1dc940b90b0..4e3db68db54 100644 --- a/src/panfrost/perf/pan_perf.c +++ b/src/panfrost/perf/pan_perf.c @@ -67,13 +67,6 @@ pan_lookup_counters(const char *name) void pan_perf_init(struct pan_perf *perf, int fd) { - ASSERTED drmVersionPtr version = drmGetVersion(fd); - - /* We only support panfrost at the moment. */ - assert(version && !strcmp(version->name, "panfrost")); - - drmFreeVersion(version); - perf->dev = pan_kmod_dev_create(fd, 0, NULL); assert(perf->dev);