git: e048d38a31 - main - Status/2025Q2/drm-drivers.adoc: Add report

Lorenzo Salvadore <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/doc/commit/?id=e048d38a31d876e74264bf013b2db230f2618891

commit e048d38a31d876e74264bf013b2db230f2618891
Author:     Jean-Sébastien Pédron <[email protected]>
AuthorDate: 2025-06-29 17:54:52 +0000
Commit:     Lorenzo Salvadore <[email protected]>
CommitDate: 2025-07-05 13:45:01 +0000

    Status/2025Q2/drm-drivers.adoc: Add report
    
    Reviewed by:    status (Pau Amma <[email protected]>)
    Pull Request:   https://github.com/freebsd/freebsd-doc/pull/519
---
 .../status/report-2025-04-2025-06/drm-drivers.adoc | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/website/content/en/status/report-2025-04-2025-06/drm-drivers.adoc b/website/content/en/status/report-2025-04-2025-06/drm-drivers.adoc
new file mode 100644
index 0000000000..7ba18092d6
--- /dev/null
+++ b/website/content/en/status/report-2025-04-2025-06/drm-drivers.adoc
@@ -0,0 +1,36 @@
+=== DRM drivers
+
+Links: +
+link:https://github.com/freebsd/drm-kmod/pull/361[Update to Linux 6.9 DRM drivers] URL: link:https://github.com/freebsd/drm-kmod/pull/361[]
+
+Contact: Jean-Sébastien Pédron <[email protected]>
+
+DRM drivers are **kernel drivers for integrated and discrete GPUs**.
+They are maintained in the Linux kernel and we port them to FreeBSD.
+As of this report, we take the AMD and Intel DRM drivers only (NVIDIA FreeBSD drivers are proprietary and provided by NVIDIA themselves).
+
+We port them one Linux version at a time.
+This allows us to ship updates more often and it eases porting and debugging because we have a smaller delta compared to a bigger jump skipping several versions.
+
+This quarter, we finally merged the drivers from Linux 6.7 and 6.8 that were done during the first quarter into *drm-kmod*.
+The **porting for DRM drivers from Linux 6.9 was finished** and is now ready for review and testing;
+https://github.com/freebsd/drm-kmod/pull/361[see the pull request for instructions] if you want to try them.
+The pull request also lists all the patches needed to `linuxkpi`, the Linux drivers compatibility layer in the FreeBSD kernel.
+Several patches were already reviewed but there is still work.
+
+These updates target the FreeBSD 15-CURRENT development branch for now.
+Once kernel patches are accepted and the DRM drivers updates merged, we will evaluate if/how we can backport the kernel patches to earlier release branches (namely 14-STABLE).
+
+While waiting for review, we also started to work on two features which were unsupported on FreeBSD:
+* https://github.com/freebsd/drm-kmod/pull/357[`DMA_BUF_IOCTL_EXPORT_SYNC_FILE` and `DMA_BUF_IOCTL_IMPORT_SYNC_FILE` ioctls]
+* https://github.com/freebsd/drm-kmod/pull/358[`DRM_IOCTL_SYNCOBJ_EVENTFD` ioctl]
+
+They are apparently required to allow the use of wlroots-based Wayland compositors with the Vulkan API (see link:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286311[]).
+wlroots will need a patch as well because it only expects these features on Linux for now.
+
+Both pull requests as well as the patches to `linuxkpi` they rely on are ready for review and testing.
+The `linuxkpi` patches are linked in the pull requests.
+
+This work is kindly sponsored by the FreeBSD Foundation as part of the Laptop and Desktop Project.
+
+Sponsor: The FreeBSD Foundation
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.