Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jun 2024 09:08:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279539] graphics/nvidia-drm-515kmod, graphics/nvidia-drm-61-kmod: Fails to build after stable/14 commit 183b64dfd84ad7fd504d04f40c90edad809083c1
Message-ID:  <bug-279539-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279539

            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.

     =3D=3D=3D=3D=3D Quot =3D=3D=3D=3D=3D

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) =3D=3D 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))
      |                                             ^

     =3D=3D=3D=3D=3D End quot =3D=3D=3D=3D=3D

[1]
https://cgit.freebsd.org/src/commit/?h=3Dstable/14&id=3D183b64dfd84ad7fd504=
d04f40c90edad809083c1

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279539-7788>