git: 7944a87dce93 - main - drm2/ttm: Add missing includes to fix arm TEGRA124 build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 May 2025 19:01:58 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=7944a87dce9355bea07b7cbd005cf5107fac61d2
commit 7944a87dce9355bea07b7cbd005cf5107fac61d2
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2025-05-31 19:01:39 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2025-05-31 19:01:39 +0000
drm2/ttm: Add missing includes to fix arm TEGRA124 build
Fixes: bcd85e0150c9 ("vm_page: make iter_insert() public")
---
sys/dev/drm2/ttm/ttm_bo_vm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys/dev/drm2/ttm/ttm_bo_vm.c b/sys/dev/drm2/ttm/ttm_bo_vm.c
index b10c5f87a394..a30205358540 100644
--- a/sys/dev/drm2/ttm/ttm_bo_vm.c
+++ b/sys/dev/drm2/ttm/ttm_bo_vm.c
@@ -35,7 +35,8 @@
* <kib@FreeBSD.org> under sponsorship from the FreeBSD Foundation.
*/
-#include <sys/cdefs.h>
+#include <sys/param.h>
+#include <sys/pctrie.h>
#include "opt_vm.h"
#include <dev/drm2/drmP.h>
@@ -46,6 +47,7 @@
#include <vm/vm.h>
#include <vm/vm_page.h>
#include <vm/vm_pageout.h>
+#include <vm/vm_radix.h>
#define TTM_BO_VM_NUM_PREFAULT 16