[Bug 288236] x11/nvidia-driver: nvidia_subr.c:1456:15: error: use of undeclared identifier 'DMAP_MIN_ADDRESS'

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288236

--- Comment #17 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=9302fb05a0c6599bbe8963ff5201fd3b99994535

commit 9302fb05a0c6599bbe8963ff5201fd3b99994535
Author:     Tomoaki AOKI <[email protected]>
AuthorDate: 2025-07-17 02:21:13 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2025-07-17 02:25:26 +0000

    x11/nvidia-driver: Fix build after kva_layout

    Commit 4dd828c808286 on main branch of src removed 2 macros,
    DMAP_MIN_ADDRESS and DMAP_MAX_ADDRESS and require to use variables
    (members of struct) kva_layout.dmap_low and kva_layout.dmap_high
    respectively.

    This broke builds of x11/nvidia-driver[-304|-340|-390|-470|-devel].
    And the change is not planned for MFC (POLA violation).

    Fix build by using new variables conditionally.

    As there are around 10 days between usable latest bump at base
    65ed1a035ceb8 and base 4dd828c808286, there are broken time window.

    PR:             288236
    Reviewed by:    ashafer, kib

 x11/nvidia-driver/Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list 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.