mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
pan/perf: Remove kmod version restriction
Both kmod backends implement the perf interface now.
This commit is contained in:
parent
8d7387deea
commit
8141fd7342
1 changed files with 0 additions and 7 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue