[Bug 289647] graphics/drm-61-kmod: X11 with nvidia-drm-61-kmod fails to start after commit ac934345a14f

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Sep 2025 23:17:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289647

--- Comment #50 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=123c2dc6e15a62ceba3469caf0f1a6801214a7d3

commit 123c2dc6e15a62ceba3469caf0f1a6801214a7d3
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-09-29 21:29:17 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-09-29 23:16:18 +0000

    Reapply "LinuxKPI: pci: allocate entire pci_dev hiereachy up to root port
on attach"

    In linux_pci_attach_device() allocate a LinuxKPI pci_dev for each device in
    the hierarchy up to the root port[1] as we cannot do that later on demand
    as we may be in a context where we may not sleep.

    Take special care of DRM as there is a non-PCI device in the chain which
    needs to be skipped.

    iwlwifi(4) can hit this case called from a callout.

    While here leave a comment sa the cleanup order of
    linux_pci_attach_device() needs correction seperately.

    This reverts commit 3860afe99ec39b9942967941181f28f27f3fc548.

    Sponsored by:   The FreeBSD Foundation (initially)
    PR:             283027
    PR:             289647
    Suggested by:   jhb [1]
    MFC after:      3 days
    Reviewed by:    dumbbell
    Differential Revision:  https://reviews.freebsd.org/D52069

 sys/compat/linuxkpi/common/src/linux_pci.c | 47 +++++++++++++++++++++++++-----
 1 file changed, 40 insertions(+), 7 deletions(-)

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