16 lines
610 B
Diff
16 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);
|
||
|
}"
|