mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -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
18 lines
411 B
C
18 lines
411 B
C
--- tests/i915/kms_psr2_su.c.orig 2022-08-31 20:00:01 UTC
|
|
+++ tests/i915/kms_psr2_su.c
|
|
@@ -29,7 +29,15 @@
|
|
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
+#ifdef __linux__
|
|
#include <sys/timerfd.h>
|
|
+#endif
|
|
+
|
|
+/* FreeBSD: POSIX TIMER */
|
|
+#ifdef __FreeBSD__
|
|
+#define timerfd_create(c, f) -1
|
|
+#define timerfd_settime(fd, f, n, o) -1
|
|
+#endif
|
|
|
|
IGT_TEST_DESCRIPTION("Test PSR2 selective update");
|
|
|