From nobody Sat Oct 4 10:03:22 2025 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cf1Lz2Dt4z6BFmP for ; Sat, 04 Oct 2025 10:03:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cf1Ly6R7kz3Skj; Sat, 04 Oct 2025 10:03:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759572202; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C5iRzXGBv6ao1clPm1E7r5zd85ogb3qQq+ANPYpO7bo=; b=giCnC4N+thz9vrmqazYn3wbA/l+CPc5Wg5RnnRnZSD5RtRG1zpulK1oeUWf5w717WgESnz J5DOS4l+WUEVuyx3eDxL3QHj5/MkwoeNBNXI4eDdxtxB8BMbVUajo1LW/YpqxN/4MUoeb6 ftqKWeOVT9wmshCQu7mKPgGmvvElRUZXmtPBDi4dN3e/+WE2h7CaPKFATyLsOhWbX3Qst2 FzF9QY7iCyxxrynwHO5Cld5TyB4EoKjVa650meBN3yOxV4jijK4mnMZ5u/F6IFnqUlB1ub SMpmFQxs3Zr6RogscU3wn9M2Tppy6LllUx0osVCz+z1bfLTYUslo4g2Ekz9xUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759572202; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C5iRzXGBv6ao1clPm1E7r5zd85ogb3qQq+ANPYpO7bo=; b=acUJOgqO46WbcVFUeMKgQIjn+QMZbSzVyGqSJEttr4+oIRkS3N9mjrofAE02svIlo+fLtO m3GmPhqCodSKBSrPp2C44NvJawNS+tU+1JYOM0vciKFr2tVMFDf19GPIJiJJcyQpDnHWqY x1LECEQgYLJcWgmEfb/AQAZKe3yh5ybJM9T7DT355EWmPhdHneCjuAOECJp8sycAqPdPbd 6J0sWaaK7i+MrFoPvSb8w40xBDyt9rO9qfan0vV8apHt0iz5BcjSanKdZxjozXXep8BEv5 98xdX9nBJLKTHFcmDkPsk+XLIW6BMEsyIGXuIxy51Avgp/1dZX+Q3fViqQHuxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759572202; a=rsa-sha256; cv=none; b=cL2gL6n5vvWgEyjqSHOxd7xuwgmocE0PGlDzWMEYxD5FcO4UM9mh45GJ6NeoIOpoeZhheW LZrAniuDfXAjaXEe3TXlBRsWcUPz9CmQIuMg3f5bOLEGIx1Tsyk8RdbIdcOL/Qo3AK3mQG YjkIuD1co6mXC1XifipK5oA2WvBmMQzq5v8vIr4MhW/9pkMwXgZ0w4AGCBUzWBon+OPiPT wmJdnTWsCd905iLiD9ellfZFWaZOe723/RJiUQdS1wrPRC+XMuV6jlO4CVZMbuT0ZLXhCq 6b/T3HG4+hMLIR5gbAN5E5SnNCZn0ekwD3WtaxYxue5jgKdsPVJhkqK8RhJ3Cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cf1Ly5y51zdB5; Sat, 04 Oct 2025 10:03:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 594A3M1V006272; Sat, 4 Oct 2025 10:03:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 594A3Mq1006269; Sat, 4 Oct 2025 10:03:22 GMT (envelope-from git) Date: Sat, 4 Oct 2025 10:03:22 GMT Message-Id: <202510041003.594A3Mq1006269@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Lorenzo Salvadore Subject: git: ee705ea01c - main - Status/2025Q3/drm-drivers.adoc: Add report about DRM drivers List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ee705ea01c9db41ef18cb3b6e4fd6b0563a7d0f4 Auto-Submitted: auto-generated The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=ee705ea01c9db41ef18cb3b6e4fd6b0563a7d0f4 commit ee705ea01c9db41ef18cb3b6e4fd6b0563a7d0f4 Author: Jean-Sébastien Pédron AuthorDate: 2025-09-15 19:29:38 +0000 Commit: Lorenzo Salvadore CommitDate: 2025-10-04 10:02:14 +0000 Status/2025Q3/drm-drivers.adoc: Add report about DRM drivers Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-doc/pull/545 --- .../status/report-2025-07-2025-09/drm-drivers.adoc | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/website/content/en/status/report-2025-07-2025-09/drm-drivers.adoc b/website/content/en/status/report-2025-07-2025-09/drm-drivers.adoc new file mode 100644 index 0000000000..c48c7cf69f --- /dev/null +++ b/website/content/en/status/report-2025-07-2025-09/drm-drivers.adoc @@ -0,0 +1,41 @@ +=== DRM drivers + +Links: + +link:https://github.com/freebsd/drm-kmod/pull/371[Update to Linux 6.10 DRM drivers] URL: link:https://github.com/freebsd/drm-kmod/pull/371[] + +Contact: Jean-Sébastien Pédron + +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, the work was slower with the holidays. +**DRM drivers from Linux 6.10 were ported**. +However, there are still issues that need to be worked on: +* There is a regression in the integration of the `amdgpu` driver with man:vt[4], causing the console to go blank once the driver is loaded. + A graphical session still works though. +* There are significant changes to the `radix-tree` suppport in `linuxkpi` that needs more testing. +* The `siphash` code committed to `linuxkpi` is not working yet. + +The pull request on GitHub and the associated freebsd-src branch may not have the latest versions, until the compilation and load failures are fixed. + +These updates target the FreeBSD 16-CURRENT development branch for now, but `linuxkpi` changes should be backported to FreeBSD 15-STABLE. + +The following pull request did not receive enough reviews and tests for now. +That is why they are still in flight. + +* 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 rely on patches to `linuxkpi`. +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