Page MenuHomeFreeBSD

graphics/drm-current-kmod: Update to drm_v5.4.62
ClosedPublic

Authored by manu on Sep 9 2020, 9:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 23, 12:36 AM
Unknown Object (File)
Sat, Apr 20, 6:19 PM
Unknown Object (File)
Fri, Apr 19, 2:39 AM
Unknown Object (File)
Mar 17 2024, 10:25 PM
Unknown Object (File)
Mar 17 2024, 10:25 PM
Unknown Object (File)
Mar 17 2024, 10:25 PM
Unknown Object (File)
Mar 17 2024, 10:25 PM
Unknown Object (File)
Mar 15 2024, 12:59 PM
Subscribers

Details

Summary

This update drm-current-kmod to be in sync with the latest Linux LTS
release.
aarch64 is also now supported for amdgpu and radeon.
vboxvideo is now added.

Sponsored-by: The FreeBSD Foundation
Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 33456
Build 30738: arc lint + arc unit

Event Timeline

manu requested review of this revision.Sep 9 2020, 9:15 AM
manu created this revision.
zeising added a subscriber: zeising.

One small nit above, nothing important.

As a side note, I wonder if we really should keep the SOURCE option enabled, it has caused issues in the past when people first do a buildkernel (with the old sources) and then update ports and think they have the new stuff, while still loading the old module built with buildkernel.

graphics/drm-current-kmod/pkg-plist
2

If you remove this from the plist, you probably want to remove the PLIST_SUB+=AMDKFD in the Makefile as well.

This revision is now accepted and ready to land.Sep 9 2020, 11:29 AM

One more thing, can you update the version check in graphics/drm-kmod/Makefile as well?

One small nit above, nothing important.

As a side note, I wonder if we really should keep the SOURCE option enabled, it has caused issues in the past when people first do a buildkernel (with the old sources) and then update ports and think they have the new stuff, while still loading the old module built with buildkernel.

Well, installing the source will always causes problems when you update ports/package after building kernel but can help (sometimes) if nothing in base breaks building the module but it needs to be recompiled. It's the best solution that we have right now.

graphics/drm-current-kmod/pkg-plist
2

True, I'll update that.

One more thing, can you update the version check in graphics/drm-kmod/Makefile as well?

Good catch, I'll do that.

In D26367#586347, @manu wrote:

One small nit above, nothing important.

As a side note, I wonder if we really should keep the SOURCE option enabled, it has caused issues in the past when people first do a buildkernel (with the old sources) and then update ports and think they have the new stuff, while still loading the old module built with buildkernel.

Well, installing the source will always causes problems when you update ports/package after building kernel but can help (sometimes) if nothing in base breaks building the module but it needs to be recompiled. It's the best solution that we have right now.

We've had several support cases where there's been confusion as to which module was loaded because of this. But this discussion is bigger than this review, and not something that should prevent the update from happening. :)

In D26367#586347, @manu wrote:

One small nit above, nothing important.

As a side note, I wonder if we really should keep the SOURCE option enabled, it has caused issues in the past when people first do a buildkernel (with the old sources) and then update ports and think they have the new stuff, while still loading the old module built with buildkernel.

Well, installing the source will always causes problems when you update ports/package after building kernel but can help (sometimes) if nothing in base breaks building the module but it needs to be recompiled. It's the best solution that we have right now.

We've had several support cases where there's been confusion as to which module was loaded because of this. But this discussion is bigger than this review, and not something that should prevent the update from happening. :)

Oh yeah there was and will be a lot more confusion, I personnaly don't like this situation but as you said, the discussion is bigger than this review :)

This revision now requires review to proceed.Sep 9 2020, 12:36 PM
This revision is now accepted and ready to land.Sep 9 2020, 12:55 PM
graphics/drm-kmod/Makefile
29

I've missed this one, will fix when commiting.

graphics/drm-kmod/Makefile
29

Sounds good. I didn't see it either until you pointed it out. :)

This revision was automatically updated to reflect the committed changes.