[Bug 279539] graphics/nvidia-drm-515kmod, graphics/nvidia-drm-61-kmod: Fails to build after stable/14 commit 183b64dfd84ad7fd504d04f40c90edad809083c1

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Jun 2024 09:08:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279539

            Bug ID: 279539
           Summary: graphics/nvidia-drm-515kmod,
                    graphics/nvidia-drm-61-kmod: Fails to build after
                    stable/14 commit
                    183b64dfd84ad7fd504d04f40c90edad809083c1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: junchoon@dec.sakura.ne.jp
                CC: ashafer@badland.io
                CC: ashafer@badland.io
             Flags: maintainer-feedback?(ashafer@badland.io)

graphics/nvidia-drm-515kmod and graphics/nvidia-drm-61-kmod starts failing
build after stable/14 commit 183b64dfd84ad7fd504d04f40c90edad809083c1 [1].

Error part of build log is as follows.

     ===== Quot =====

nvidia-drm-fence.c:158:14: error: no member named 'm' in 'struct mtx'
  158 |     WARN_ON(!spin_is_locked(&nv_fence_context->lock));
      |              ^               ~~~~~~~~~~~~~~~~~~~~~~
./nvidia-drm-conftest.h:89:45: note: expanded from macro 'spin_is_locked'
   89 | #define spin_is_locked(lock) mtx_owned(lock.m)
      |                                        ~~~~ ^
/usr/src/sys/sys/mutex.h:478:33: note: expanded from macro 'mtx_owned'
  478 | #define mtx_owned(m)    (mtx_owner(m) == curthread)
      |                                    ^
/usr/src/sys/sys/mutex.h:476:50: note: expanded from macro 'mtx_owner'
  476 | #define mtx_owner(m)    lv_mtx_owner(MTX_READ_VALUE(m))
      |                                                     ^
/usr/src/sys/sys/mutex.h:470:29: note: expanded from macro 'MTX_READ_VALUE'
  470 | #define MTX_READ_VALUE(m)       ((m)->mtx_lock)
      |                                   ^
/usr/src/sys/sys/mutex.h:474:45: note: expanded from macro 'lv_mtx_owner'
  474 | #define lv_mtx_owner(v) ((struct thread *)((v) & ~MTX_FLAGMASK))
      |                                             ^

     ===== End quot =====

[1]
https://cgit.freebsd.org/src/commit/?h=stable/14&id=183b64dfd84ad7fd504d04f40c90edad809083c1

-- 
You are receiving this mail because:
You are the assignee for the bug.