Bug 264449 - graphics/drm-{drm-510,drm-54,fbsd13}-kmod: Update after migration of pm_message_t from kernel.h to pm.h
Summary: graphics/drm-{drm-510,drm-54,fbsd13}-kmod: Update after migration of pm_messa...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-04 12:12 UTC by Vladimir Kondratyev
Modified: 2022-07-01 14:58 UTC (History)
4 users (show)

See Also:
manu: maintainer-feedback+


Attachments
drm-kmod.patch (5.01 KB, patch)
2022-06-04 12:12 UTC, Vladimir Kondratyev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kondratyev freebsd_committer freebsd_triage 2022-06-04 12:12:10 UTC
Created attachment 234445 [details]
drm-kmod.patch
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2022-06-04 18:58:02 UTC
For the archives:

see https://reviews.freebsd.org/D35276 for the proposed kernel change
and https://github.com/freebsd/drm-kmod/pull/169 for this one.

Many thanks!
Comment 2 Emmanuel Vadot freebsd_committer freebsd_triage 2022-06-05 15:19:16 UTC
Consider having a blanket for drm-kmod update.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-06-05 15:46:20 UTC
A commit in branch main references this bug:

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

commit fbb380683a1bec542030450e6f05bf58097a64cf
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2022-06-05 15:44:51 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2022-06-05 15:44:51 +0000

    graphics/drm-{drm-510,drm-54,fbsd13}-kmod: Update after migration

    of pm_message_t from kernel.h to pm.h.

    PR:             264449
    Approved by:    x11 (manu)

 graphics/drm-510-kmod/Makefile     | 4 ++--
 graphics/drm-510-kmod/distinfo     | 6 +++---
 graphics/drm-54-kmod/Makefile      | 4 ++--
 graphics/drm-54-kmod/distinfo      | 6 +++---
 graphics/drm-fbsd13-kmod/Makefile  | 4 ++--
 graphics/drm-fbsd13-kmod/distinfo  | 6 +++---
 graphics/drm-fbsd13-kmod/pkg-plist | 2 ++
 7 files changed, 17 insertions(+), 15 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-06-10 14:07:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=0e981d79b19da8fc550ea0dbe46e8658be988db4

commit 0e981d79b19da8fc550ea0dbe46e8658be988db4
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-05-20 21:50:01 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-06-10 14:05:12 +0000

    LinuxKPI: move pm_message_t from kernel.h to pm.h

    Move pm_message_t from kernel.h to pm.h and remove a private define
    in usb.h as well as adjust the implementation in linux_usb.c.
    This cleans up what I believe to be a historic shortcut and is
    needed for future wireless driver updates.

    Leave a note in UPDATING that drm-kmod users need to update to the
    latest version before re-compiling a new kernel to avoid errors
    (see PR).

    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    PR:             264449 (drm-kmod port update, thanks wulf)
    Obtained from:  bz_git_iwlwifi (Dec 2020) (partly)
    Reviewed by:    hselasky, imp
    Differential Revision: https://reviews.freebsd.org/D35276

 UPDATING                                          | 4 ++++
 sys/compat/linuxkpi/common/include/linux/kernel.h | 4 ----
 sys/compat/linuxkpi/common/include/linux/pci.h    | 1 +
 sys/compat/linuxkpi/common/include/linux/pm.h     | 4 ++++
 sys/compat/linuxkpi/common/include/linux/usb.h    | 3 ++-
 sys/compat/linuxkpi/common/src/linux_usb.c        | 7 +++++--
 6 files changed, 16 insertions(+), 7 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-07-01 14:58:48 UTC
A commit in branch stable/13 references this bug:

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

commit a478f4afd83a11f8f11d9b4e594aed21691f63b0
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-05-20 21:50:01 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-07-01 13:48:24 +0000

    LinuxKPI: move pm_message_t from kernel.h to pm.h

    Move pm_message_t from kernel.h to pm.h and remove a private define
    in usb.h as well as adjust the implementation in linux_usb.c.
    This cleans up what I believe to be a historic shortcut and is
    needed for future wireless driver updates.

    Leave a note in UPDATING that drm-kmod users need to update to the
    latest version before re-compiling a new kernel to avoid errors
    (see PR).

    Sponsored by:   The FreeBSD Foundation
    PR:             264449 (drm-kmod port update, thanks wulf)
    Obtained from:  bz_git_iwlwifi (Dec 2020) (partly)
    Reviewed by:    hselasky, imp
    Differential Revision: https://reviews.freebsd.org/D35276

    (cherry picked from commit 0e981d79b19da8fc550ea0dbe46e8658be988db4)

 UPDATING                                          | 4 ++++
 sys/compat/linuxkpi/common/include/linux/kernel.h | 4 ----
 sys/compat/linuxkpi/common/include/linux/pci.h    | 1 +
 sys/compat/linuxkpi/common/include/linux/pm.h     | 4 ++++
 sys/compat/linuxkpi/common/include/linux/usb.h    | 3 ++-
 sys/compat/linuxkpi/common/src/linux_usb.c        | 7 +++++--
 6 files changed, 16 insertions(+), 7 deletions(-)