Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153398553
D43234.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
901 B
Referenced Files
None
Subscribers
None
D43234.diff
View Options
diff --git a/graphics/nvidia-drm-515-kmod/files/patch-nvidia-drm-gem.c b/graphics/nvidia-drm-515-kmod/files/patch-nvidia-drm-gem.c
new file mode 100644
--- /dev/null
+++ b/graphics/nvidia-drm-515-kmod/files/patch-nvidia-drm-gem.c
@@ -0,0 +1,18 @@
+--- nvidia-drm-gem.c.orig 2023-12-29 19:08:23 UTC
++++ nvidia-drm-gem.c
+@@ -68,15 +68,7 @@ void nv_drm_gem_free(struct drm_gem_object *gem)
+ #if !defined(NV_DRM_DRIVER_HAS_GEM_PRIME_CALLBACKS) && \
+ defined(NV_DRM_GEM_OBJECT_VMAP_HAS_MAP_ARG)
+
+-/*
+- * The 'dma_buf_map' structure is renamed to 'iosys_map' by the commit
+- * 7938f4218168 ("dma-buf-map: Rename to iosys-map").
+- */
+-#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
+
+ static int nv_drm_gem_vmap(struct drm_gem_object *gem,
+ nv_sysio_map_t *map)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 10:37 PM (11 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31937158
Default Alt Text
D43234.diff (901 B)
Attached To
Mode
D43234: nvidia-drm-515-kmod: Fix build on CURRENT with iosys-map.h
Attached
Detach File
Event Timeline
Log In to Comment