Bug 258379 - graphics/drm-kmod: update to 5.4.144 and 5.5.19_3
Summary: graphics/drm-kmod: update to 5.4.144 and 5.5.19_3
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: 2021-09-08 23:47 UTC by Vladimir Kondratyev
Modified: 2021-09-09 18:47 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
graphics/drm-current-kmod.patch (1.96 KB, patch)
2021-09-08 23:47 UTC, Vladimir Kondratyev
no flags Details | Diff
graphics/drm-devel-kmod.patch (1.61 KB, patch)
2021-09-08 23:48 UTC, Vladimir Kondratyev
no flags Details | Diff
graphics/drm-fbsd13-kmod.patch (6.91 KB, patch)
2021-09-08 23:49 UTC, Vladimir Kondratyev
no flags Details | Diff
graphics/drm-devel-kmod.patch (1.68 KB, patch)
2021-09-09 09:44 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 2021-09-08 23:47:45 UTC
Created attachment 227775 [details]
graphics/drm-current-kmod.patch

This updates drm-current-kmod with drm-fbsd13-kmod to 5.4.144
Briefly tested on Intel KabyLake/SkyLake and one of AMD graphics cards.

Also drm_devel_kmod is updated to 5.5.19_3
It contains some amdgpu fixes (panics related to disconnecting of AC Adapter and FPU stuff) submitted by Greg V and allows build on recent 13-STABLE
Comment 1 Vladimir Kondratyev freebsd_committer 2021-09-08 23:48:23 UTC
Created attachment 227776 [details]
graphics/drm-devel-kmod.patch
Comment 2 Vladimir Kondratyev freebsd_committer 2021-09-08 23:49:10 UTC
Created attachment 227777 [details]
graphics/drm-fbsd13-kmod.patch
Comment 3 Emmanuel Vadot freebsd_committer 2021-09-09 06:23:44 UTC
drm-current-kmod looks ok.
For drm-devel-kmod I would prefer to have two check for FreeBSD_version, one for stable and one for current to avoid any surprise to someone running an older version of current.
For drm-fbsd13-kmod no need to add the vbox/vmwgfx files with @comment, just don't touch the plist.

Thanks for taking care of this.
Comment 4 Vladimir Kondratyev freebsd_committer 2021-09-09 09:44:21 UTC
Created attachment 227781 [details]
graphics/drm-devel-kmod.patch

> For drm-devel-kmod I would prefer to have two check for FreeBSD_version, one for stable and one for current to avoid any surprise to someone running an older version of current.

done

> For drm-fbsd13-kmod no need to add the vbox/vmwgfx files with @comment, just don't touch the plist.

@comments are required to pass plist check if SOURCE option is selected
Comment 5 Emmanuel Vadot freebsd_committer 2021-09-09 10:09:14 UTC
(In reply to Vladimir Kondratyev from comment #4)

Ah yes forgot about that.
Ok for me for the 3 patches.
Feel free to commit with Approved by: manu
Comment 6 commit-hook freebsd_committer 2021-09-09 11:08:44 UTC
A commit in branch main references this bug:

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

commit d7fa6386aad1e062ce5512678dedb273e2a53b29
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-09-09 11:06:30 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2021-09-09 11:07:29 +0000

    graphics/drm-{current,fbsd13}-kmod: Update to v5.4.144

    PR:             258379
    Approved by:    x11 (manu)

 graphics/drm-current-kmod/Makefile  |  4 +-
 graphics/drm-current-kmod/distinfo  |  6 +--
 graphics/drm-current-kmod/pkg-plist |  1 +
 graphics/drm-fbsd13-kmod/Makefile   |  5 +--
 graphics/drm-fbsd13-kmod/distinfo   |  6 +--
 graphics/drm-fbsd13-kmod/pkg-plist  | 82 +++++++++++++++++++++++++++++++++++++
 6 files changed, 93 insertions(+), 11 deletions(-)
Comment 7 commit-hook freebsd_committer 2021-09-09 11:08:45 UTC
A commit in branch main references this bug:

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

commit 3df6598adf625a18a7c762b2d48b4c3dd7925838
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-09-09 11:05:49 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2021-09-09 11:07:12 +0000

    graphics/drm-devel-kmod: Update to v5.5.19.g20210909

    - amdgpu: Fix panic on (dis)connecting of AC Adapter on RENOIR GPUs
    - amdgpu: Fix malloc-in-FPU-section panic

    PR:             258379
    Approved by:    x11 (manu)

 graphics/drm-devel-kmod/Makefile | 9 +++++----
 graphics/drm-devel-kmod/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)