modeco80
93dd13b3d1
the eventfd fix is currently not enabled yet. need to add the follow_pfn patch next for 6.10/6.11 support
15 lines
610 B
Diff
15 lines
610 B
Diff
--- a/kernel/conftest.sh
|
|
+++ b/kernel/conftest.sh
|
|
@@ -5071,6 +5071,11 @@
|
|
CODE="
|
|
#include <drm/drm_gem.h>
|
|
+ #if defined(NV_LINUX_IOSYS_MAP_H_PRESENT)
|
|
+ typedef struct iosys_map nv_sysio_map_t;
|
|
+ #else
|
|
+ typedef struct dma_buf_map nv_sysio_map_t;
|
|
+ #endif
|
|
int conftest_drm_gem_object_vmap_has_map_arg(
|
|
- struct drm_gem_object *obj, struct dma_buf_map *map) {
|
|
+ struct drm_gem_object *obj, nv_sysio_map_t *map) {
|
|
return obj->funcs->vmap(obj, map);
|
|
}"
|