mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -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
387 B
C
13 lines
387 B
C
--- lib/i915/gem_engine_topology.c.orig 2022-08-31 20:00:01 UTC
|
|
+++ lib/i915/gem_engine_topology.c
|
|
@@ -88,6 +88,10 @@
|
|
*/
|
|
#define SIZEOF_QUERY offsetof(struct drm_i915_query_engine_info, \
|
|
engines[GEM_MAX_ENGINES])
|
|
+#ifdef __FreeBSD__
|
|
+#define SYS_getdents64 SYS_freebsd11_getdents
|
|
+#define ino64_t ino_t
|
|
+#endif
|
|
|
|
static int __gem_query(int fd, struct drm_i915_query *q)
|
|
{
|