mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 08:11:50 -04:00
The igt testing suite is separated into tests and tools that target kms, memory management, and command submission. These tests are especially helpful for low-level reporting, transparent tracking of kernel changes, and efficient debugging of modern drm drivers. Reviewed by: diizzy, lwhsu, jrm Differential Revision: https://reviews.freebsd.org/D36213
13 lines
348 B
C
13 lines
348 B
C
--- benchmarks/gem_exec_tracer.c.orig 2022-08-31 20:00:00 UTC
|
|
+++ benchmarks/gem_exec_tracer.c
|
|
@@ -41,6 +41,10 @@
|
|
#include "intel_aub.h"
|
|
#include "intel_chipset.h"
|
|
|
|
+#ifdef __FreeBSD__
|
|
+#define _IOC_TYPE(nr) (((nr) >> 8) & 255)
|
|
+#endif
|
|
+
|
|
static int (*libc_close)(int fd);
|
|
static int (*libc_ioctl)(int fd, unsigned long request, void *argp);
|
|
|