Why there's no drm-66-kmod ?

Just an innocent question from a guy that's three weeks into FreeBSD and doesn't yet know how things work in this space. I assume that drm-kmod follows the linux-stable trees, so that we have drm-510-kmod, drm-515-kmod and drm-61-kmod. Current stable tree is linux-6.6 since last December, hence my question.
 
Currently, supported on fairly new main branch of FreeBSD base [aka -Current] only. In drm-66-kmod/Makefile,
Makefile:
.if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500031 )
IGNORE=        not supported on older than 1500031, no kernel support
.endif
.if ${OPSYS} != FreeBSD
IGNORE=        not supported on anything but FreeBSD (missing linuxkpi functionality)
.endif

At this moment, latest main is at 1500032, and 1500031 was bumped at Feb.01, 2025 and bumped to 1500032 at Feb.14, 2025. Quite recent.
 
just tried to build drm-66-kmod via poudriere and got

[00:00:05] Ignoring graphics/drm-66-kmod | drm-66-kmod-6.6.25.1402000: not supported on older than 1500031, no kernel support
 
I will try removing those lines from the Makefile.
If all required commits are MFC'ed to stable/14, then, MFS'ed to releng/14.2, it would work. But if not, would fail.

Unfortunately, I have not enough time to track seemingly-related commits on main (aka -Current).
 
Well, looks like it's working I guess:

Code:
[13:02][fmc000@tu45b-freebsd ~] $ kldstat |grep 915
41    1 0xffffffff84800000   37a7d1 i915kms.ko
[13:02][fmc000@tu45b-freebsd ~] $ pkg info drm-66-kmod
drm-66-kmod-6.6.25.1402000
Name           : drm-66-kmod
Version        : 6.6.25.1402000
Installed on   : Fri Feb 21 13:57:32 2025 CET
Origin         : graphics/drm-66-kmod
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : kld graphics
Licenses       : BSD2CLAUSE, MIT, GPLv2
Maintainer     : x11@FreeBSD.org
WWW            : https://github.com/freebsd/drm-kmod/
Comment        : DRM drivers modules
Annotations    :
    FreeBSD_version: 1402000
Flat size      : 23.8MiB
Description    :
amdgpu, i915, and radeon DRM drivers modules.
Currently corresponding to Linux 6.6 DRM.
This version is for FreeBSD 15 1500023
and above.
[13:02][fmc000@tu45b-freebsd ~] $

I'm typing now from my FreeBSD laptop running 14.2 with drm-66-kmod under Wayland (sddm+labwc).
 
Well, looks like it's working I guess:

Code:
[13:02][fmc000@tu45b-freebsd ~] $ kldstat |grep 915
41    1 0xffffffff84800000   37a7d1 i915kms.ko
[13:02][fmc000@tu45b-freebsd ~] $ pkg info drm-66-kmod
drm-66-kmod-6.6.25.1402000
Name           : drm-66-kmod
Version        : 6.6.25.1402000
Installed on   : Fri Feb 21 13:57:32 2025 CET
Origin         : graphics/drm-66-kmod
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : kld graphics
Licenses       : BSD2CLAUSE, MIT, GPLv2
Maintainer     : x11@FreeBSD.org
WWW            : https://github.com/freebsd/drm-kmod/
Comment        : DRM drivers modules
Annotations    :
    FreeBSD_version: 1402000
Flat size      : 23.8MiB
Description    :
amdgpu, i915, and radeon DRM drivers modules.
Currently corresponding to Linux 6.6 DRM.
This version is for FreeBSD 15 1500023
and above.
[13:02][fmc000@tu45b-freebsd ~] $

I'm typing now from my FreeBSD laptop running 14.2 with drm-66-kmod under Wayland (sddm+labwc).
Thanks!
So we would need to determine which commit fulfilled the requirement and which bump is the nearest and after the commit to file PR for this.
 
No, sorry, I probably wasn't clear. I just removed three lines from the Makefile to make it compile and install on 14.2

Code:
.if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500031 )
IGNORE=        not supported on older than 1500031, no kernel support
.endif
 
No, sorry, I probably wasn't clear. I just removed three lines from the Makefile to make it compile and install on 14.2

Code:
.if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500031 )
IGNORE=        not supported on older than 1500031, no kernel support
.endif
Would be no problem. Developers in group maintainers (freebsd-x11) can read following posts here.
And removing these 3 lines means just disabling version check on Makefile and no matter whether the built/installed kmod works or not.
 
Just for information, I reverted to 61 because of lots of errors:
Code:
drmn0: [drm] *ERROR* mismatch in avi infoframe
drmn0: [drm] *ERROR* expected:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Invalid
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn0: [drm] *ERROR* found:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Unknown Non-uniform Scaling
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn drmn0: pipe state doesn't match!
name=drmn0 id=i915drmfb flags=0x0 stride=7680
drmn0: [drm] *ERROR* mismatch in avi infoframe
drmn0: [drm] *ERROR* expected:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Invalid
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn0: [drm] *ERROR* found:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Unknown Non-uniform Scaling
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn drmn0: pipe state doesn't match!
vgapci0: child drmn0 requested pci_set_powerstate
vgapci0: child drmn0 requested pci_set_powerstate
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
drmn0: [drm] *ERROR* mismatch in avi infoframe
drmn0: [drm] *ERROR* expected:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Invalid
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn0: [drm] *ERROR* found:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Unknown Non-uniform Scaling
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn drmn0: pipe state doesn't match!
vgapci0: child drmn0 requested pci_set_powerstate
vgapci0: child drmn0 requested pci_set_powerstate
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
drmn0: [drm] *ERROR* mismatch in avi infoframe
drmn0: [drm] *ERROR* expected:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Invalid
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn0: [drm] *ERROR* found:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Unknown Non-uniform Scaling
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn drmn0: pipe state doesn't match!
vgapci0: child drmn0 requested pci_set_powerstate
vgapci0: child drmn0 requested pci_set_powerstate
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
drmn0: [drm] *ERROR* mismatch in avi infoframe
drmn0: [drm] *ERROR* expected:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Invalid
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn0: [drm] *ERROR* found:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Unknown Non-uniform Scaling
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn drmn0: pipe state doesn't match!
drmn0: [drm] *ERROR* mismatch in avi infoframe
drmn0: [drm] *ERROR* expected:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Invalid
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
drmn0: [drm] *ERROR* found:
drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
drmn0:     colorspace: RGB
drmn0:     scan mode: Underscan
drmn0:     colorimetry: No Data
drmn0:     picture aspect: 16:9
drmn0:     active aspect: Same as Picture
drmn0:     itc: No Data
drmn0:     extended colorimetry: xvYCC 709
drmn0:     quantization range: Default
drmn0:     nups: Unknown Non-uniform Scaling
drmn0:     video code: 0
drmn0:     ycc quantization range: Limited
drmn0:     hdmi content type: Graphics
drmn0:     pixel repeat: 0
drmn0:     bar top 0, bottom 131, left 0, right 6401
and because of a somewhat yellowish tone on my laptop panel (but this may well be just my eyes playing with me).
 
Back
Top