From nobody Sat Jul 5 13:45:38 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 4bZBbR2swrz60qKZ for ; Sat, 05 Jul 2025 13:45:39 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bZBbQ4H4Yz3Hyy; Sat, 05 Jul 2025 13:45:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751723138; 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=y0txSdg1wzeCz8xQO1U5/Pj3wp74dCga2kIM7wjAJo4=; b=tZRb/celF4nUJldJUxuNp0XZYfSyL8zFYjDrlj91+n2OqVu54TwKE3lwLXLkkfVBj2RWoB AU7FKzbwpzZiSDKsHk5CFNyr3ZRUnDwf6hxgK7OgeOdM9B8vDkjDKmN8iDfi59MbNNmuxZ JDnD7Fk3AFDNVoa3QGikF1reh8ThXTXiR0GetvSBChsRR4HbtxmGBY0V6fIsGzcsuc0Zqx P8SNvwRtdxAcoOm+rWqICwJlfF8YkwT6our98vo46eZdlupc7mhcFk39hEbFxZ07u0J4nn k1xxZPbLEisE7dzc0pOq5aqwuS9NRVnEJur0sOjAMgCVkzjKXzg5adl5aDUfFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751723138; 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=y0txSdg1wzeCz8xQO1U5/Pj3wp74dCga2kIM7wjAJo4=; b=CmQ7NouKK9YJHLGUfzoWyP/9F422J7pSt1EfFDZvUnfoY0gVTRzMXlVHL4jSmONJ4jmYxe exnVrdwubQ0Z/uKrPz0kRzI8Hja8ombKuE7/7yCmzArMjR4i9Zf0iyxCUd9rZRYuMbrL7c +rXkVOXRMCzlG0NQ2rinQbjJ8xmHLnqvWYnQTxMT11bRJ9MYjCCtg659AEO8sT/4krPcHK 00U7W07UVmNAGbJQysnAKP3Dj1y+MAPBXSC5kMtXDjaibgFzv6uoiiswG0s6xhmYiUVeIS ZZCrdxU87A+g/eQ3ZLMB2AOaLs4eaFAENwfxdI4iDgdtXwEphS4ZAuzE/e2ZvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751723138; a=rsa-sha256; cv=none; b=XRvHIwuVUIh+Vaf/biS+TnZNi8jZPSk7tQvDIUzyTVTBTreKN8SBTtxsvn/5e7PdJVitWe 6a32qPVSk8eqYZoWOJfJDp9ETOs1SuWo/YMO0bZjSDlZenVfLpSUCDE3/ntvHpMco8oeFO Jjqh4dp0Pt2QVlWdocDX0887WZdmQFqodPtK6ZUzQzlc0Z1+VU1iQ1uQrjWUeir6fn9Tl3 qVT3tim/Y09fsHlVevn3woX+/v27Rpf5cHx596UMQlvjfWQfxZEDqoFx/B9F6XFQV/Fefv BdNbWj1CCemgDqmChNbdLN/+asSYVb2emm5bYS9psQT7SAMhjPf7dU0XF+TSxg== 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 4bZBbQ3q1NzfS6; Sat, 05 Jul 2025 13:45:38 +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 565Djccn051559; Sat, 5 Jul 2025 13:45:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 565Djc6L051556; Sat, 5 Jul 2025 13:45:38 GMT (envelope-from git) Date: Sat, 5 Jul 2025 13:45:38 GMT Message-Id: <202507051345.565Djc6L051556@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Lorenzo Salvadore Subject: git: e048d38a31 - main - Status/2025Q2/drm-drivers.adoc: Add report 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: e048d38a31d876e74264bf013b2db230f2618891 Auto-Submitted: auto-generated 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 AuthorDate: 2025-06-29 17:54:52 +0000 Commit: Lorenzo Salvadore CommitDate: 2025-07-05 13:45:01 +0000 Status/2025Q2/drm-drivers.adoc: Add report Reviewed by: status (Pau Amma ) 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 + +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