https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296195
--- Comment #17 from Tomoaki AOKI <[email protected]> ---
(In reply to Austin Shafer from comment #15)
Trying to apply to all graphics/nvidia-drm-*-kmod* on main (aka latest) branch
of ports tree in preparation for patch to be reviewed, with adapting to ports.
All 3 graphics/nvidia-drm-515-kmod{-580|-devel} fails to build, while others
are OK.
The failures are as follows. Seemingly something is different in corresponding
graphics/drm-515-kmod side.
Not yet dug into deeper enough, but maybe an option would be not applying the
patch for graphics/nvidia-drm-515-kmod*.
nvidia-drm-gem.c:83:8: error: incomplete definition of type 'nv_sysio_map_t'
(aka 'struct iosys_map')
83 | map->vaddr = vaddr;
| ~~~^
nvidia-drm-gem.c:69:16: note: forward declaration of 'struct iosys_map'
69 | typedef struct iosys_map nv_sysio_map_t;
| ^
nvidia-drm-gem.c:84:8: error: incomplete definition of type 'nv_sysio_map_t'
(aka 'struct iosys_map')
84 | map->is_iomem = true;
| ~~~^
nvidia-drm-gem.c:69:16: note: forward declaration of 'struct iosys_map'
69 | typedef struct iosys_map nv_sysio_map_t;
| ^
nvidia-drm-gem.c:91:37: error: incomplete definition of type 'nv_sysio_map_t'
(aka 'struct iosys_map')
91 | nv_drm_gem_prime_vunmap(gem, map->vaddr);
| ~~~^
nvidia-drm-gem.c:69:16: note: forward declaration of 'struct iosys_map'
69 | typedef struct iosys_map nv_sysio_map_t;
| ^
nvidia-drm-gem.c:92:8: error: incomplete definition of type 'nv_sysio_map_t'
(aka 'struct iosys_map')
92 | map->vaddr = NULL;
| ~~~^
nvidia-drm-gem.c:69:16: note: forward declaration of 'struct iosys_map'
69 | typedef struct iosys_map nv_sysio_map_t;
| ^
nvidia-drm-gem.c:105:16: error: incompatible function pointer types
initializing 'int (*)(struct drm_gem_object *, struct dma_buf_map *)' with an
expression of
type 'int (struct drm_gem_object *, nv_sysio_map_t *)' (aka 'int (struct
drm_gem_object *, struct iosys_map *)') [-Wincompatible-function-pointer-types]
105 | .vmap = nv_drm_gem_vmap,
| ^~~~~~~~~~~~~~~
nvidia-drm-gem.c:106:16: error: incompatible function pointer types
initializing 'void (*)(struct drm_gem_object *, struct dma_buf_map *)' with an
expression of
type 'void (struct drm_gem_object *, nv_sysio_map_t *)' (aka 'void (struct
drm_gem_object *, struct iosys_map *)') [-Wincompatible-function-pointer-types]
106 | .vunmap = nv_drm_gem_vunmap,
| ^~~~~~~~~~~~~~~~~
2 warnings and 6 errors generated.
*** [nvidia-drm-gem.o] Error code 1
make: stopped making "all" in
/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/NVIDIA-FreeBSD-x86_64-595.84/src/nvidia-drm
--
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.