mirror of
https://github.com/Frogging-Family/nvidia-all
synced 2024-10-30 15:20:10 +00:00
29 lines
798 B
Diff
29 lines
798 B
Diff
diff --git a/kernel-dkms/nvidia-drm/nvidia-drm-gem-nvkms-memory.c b/kernel-dkms/nvidia-drm/nvidia-drm-gem-nvkms-memory.c
|
|
index b9cdaae..c73ed43 100644
|
|
--- a/kernel-dkms/nvidia-drm/nvidia-drm-gem-nvkms-memory.c
|
|
+++ b/kernel-dkms/nvidia-drm/nvidia-drm-gem-nvkms-memory.c
|
|
@@ -31,6 +31,8 @@
|
|
#include <drm/drm_drv.h>
|
|
#endif
|
|
|
|
+#include <linux/io.h>
|
|
+
|
|
#include "nv-mm.h"
|
|
|
|
static void __nv_drm_gem_nvkms_memory_free(struct nv_drm_gem_object *nv_gem)
|
|
diff --git a/kernel-dkms/nvidia-drm/nvidia-drm-linux.c b/kernel-dkms/nvidia-drm/nvidia-drm-linux.c
|
|
index 650b96d..1d3e658 100644
|
|
--- a/kernel-dkms/nvidia-drm/nvidia-drm-linux.c
|
|
+++ b/kernel-dkms/nvidia-drm/nvidia-drm-linux.c
|
|
@@ -35,6 +35,8 @@
|
|
#include <drm/drmP.h>
|
|
#endif
|
|
|
|
+#include <linux/vmalloc.h>
|
|
+
|
|
#include "nv-mm.h"
|
|
|
|
MODULE_PARM_DESC(
|
|
|
|
|