x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.112.07 Update to latest Production Branch of drivers 595.112.07: https://www.nvidia.com/en-us/drivers/details/283701/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/283699/ Both added support for X.Org xserver ABI 28 (xorg-server 26.1) only. PR: 2997421283580731
Port details
graphics/nvidia-drm-515-kmod 595.112.07.1501000
NVIDIA DRM Kernel Module
- Maintainer
- x11@FreeBSD.org
- Packages
- latest: 595.104.02.1501000, update to 595.112.07.1501000 not built yet
- Upstream
- up to date
- Last update
- to 595.112.07.1501000 · 1283580731
- Quarterly
- 2026Q4: 595.104.02.1501000
- WWW
- https://www.nvidia.com/object/unix.html
- Links
- cgit · VuXML
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 595.104.02.1501000.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (59)
all: remove support for end-of-life FreeBSD 15.0 Differential Revision: https://reviews.freebsd.org/D585813bcc752b87
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11nvidia-settings, x11/nvidia-xconfig: Update to 595.104.02 Update to latest Production Branch of drivers 595.104.02: https://www.nvidia.com/en-us/drivers/details/279809/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/279807/ PR: 298790 Differential Revision: https://reviews.freebsd.org/D59925c387e46b4a
graphics/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers The reason is to make them compatible with an upcoming change in linuxkpi in FreeBSD src: https://github.com/freebsd/drm-kmod/pull/502 Sponsored by: The FreeBSD Foundation7e420adaf6
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.99.02 Update to latest Production Branch of drivers 595.99.02: https://www.nvidia.com/en-us/drivers/details/278287/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/278285/ PR: 298013 Differential Revision: https://reviews.freebsd.org/D59248a23cb63213
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.91.07 Update to latest Production Branch of drivers 595.91.07: https://www.nvidia.com/en-us/drivers/details/277702/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/277699/ PR: 297265 Differential Revision: https://reviews.freebsd.org/D5863911c3b27f84
graphics/nvidia-drm-*-kmod*: Fix GPF in some configs Fix General Protection Fault in __nv_drm_gem_nvkms_handle_vma_fault, lkpi_vmf_insert_pnf_prot_locked, vm_page_busy_acquire in specific configurations, notably KDE on Wayland. PR: 296195 Reported by: keivan@motavalli.me Reviewed by: ashafer Tested by: keivan@motavalli.me Differential Revision: https://reviews.freebsd.org/D57989 Co-authored by: ashafer@FreeBSD.org1959aaa9de
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.84 Update to latest Production Branch of drivers 595.84: https://www.nvidia.com/en-us/drivers/details/272967/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/272964/ PR: 296137 Differential Revision: https://reviews.freebsd.org/D57655ec6b356f63
graphics/nvidia-drm-*-kmod*: Bump PORTREVISION after e50c876e295af951485b605b8cb9bf567b6c23e1 I should have done it as part of the update. Reported by: Tomoaki Aoki <junchoon_dec.sakura.ne.jp>5939c6e5b2
graphics/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers Several changes were made to all LTS drm-kmod branches: 1. All branches were updated with Makefile cleanups and fixes. 2. The addition of the `DMA_BUF_IOCTL_EXPORT_SYNC_FILE` and `DMA_BUF_IOCTL_IMPORT_SYNC_FILE` ioctls was backported to the 6.1 and 6.6 branches. 3. A couple fixes to amdgpu and i915 drivers were committed to the 6.12 branch. The corresponding `graphics/nvidia-drm-*-kmod` ports were updated to reference the latest `graphics/drm-*-kmod` ports. Sponsored by: The FreeBSD Foundatione50c876e29
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.80 Update to latest Production Branch of drivers 595.80: https://www.nvidia.com/en-us/drivers/details/271748/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/271745/ PR: 295718 Differential Revision: https://reviews.freebsd.org/D57358e94bcef6b1
graphics/nvidia-drm-*-kmod: Add drm 6.12
Add new ports
graphics/nvidia-drm-612-kmod,
graphics/nvidia-drm-612-kmod-580 and
graphics/nvidia-drm-612-kmod-devel
and add conflicts to
graphics/nvidia-drm-{515|61|66|latest}-kmod{-580|-devel}
following the addition of graphics/drm-612-kmod.
While here, bump
graphics/nvidia-drm-latest-kmod,
graphics/nvidia-drm-latest-kmod-580 and
graphics/nvidia-drm-latest-kmod-devel
following the bump of graphics/drm-latest-kmod from 6.9 to 6.12.
Bump PORTREVISION of other graphics/nvidia-drm-*-kmod*
as of changes in CONFLICTS.
Match DRM driver version selection with graphics/drm-kmod.
Now 6.12 is default for OSVERSION >= 1500509 (stable/15, upcoming 15.1
and main) when installed using graphics/nvidia-drm-kmod{-580|-devel}
ports / pkgs.
PR: 295519
Differential Revision: https://reviews.freebsd.org/D57206536352bd7cx11/nvidia-driver{-devel}, x11/nvidia-kmod{-devel}, x11/linux-nvidia-libs{-devel}, graphics/nvidia-drm*-kmod{-devel}, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.71.05
Update to latest Production Branch of drivers 595.71.05:
https://www.nvidia.com/en-us/drivers/details/267226/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/267223/
PR: 295058
Differential Revision: https://reviews.freebsd.org/D5685165f72b6850graphics/*drm*: remove CONFLICTS with now-deleted drm-51090aa381b54
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.58.03 Update to latest Production Branch of drivers 595.58.03: https://www.nvidia.com/en-us/drivers/details/265873/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/265870/ Also bump -devel variant to match with master ports, as Production Branch [PB] of drivers have now higher version than New Feature Branch [NFB] of drivers. As this update drops a bunch of old (pre-Turing generation of architectures) GPUs as done in -devel variants updated 20260103, add -580 variant of legacy branch of driver. Currently, this is exactly the same version before this update. (580.142) PR: 294038 Differential Revision: https://reviews.freebsd.org/D56077b35026e786
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.142 Update to latest Production Branch of drivers 580.142: https://www.nvidia.com/en-us/drivers/details/265444/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/265443/ Add graphics/egl-wayland2 as a dependency for non-legacy branches. This library can be installed alongside the previous egl-wayland implementation (graphics/egl-wayland) and has a higher selection priority by default, but doesn't support legacy branches. PR: 293738 Differential Revision: https://reviews.freebsd.org/D558130af72ff303
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.126.18 Update to latest Production Branch of drivers 580.126.18: https://www.nvidia.com/en-us/drivers/details/264091/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/264090/ PR: 293260 Differential Revision: https://reviews.freebsd.org/D55350d689046b7f
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.126.09 Update to latest Production Branch of drivers 580.126.09: https://www.nvidia.com/en-us/drivers/details/261244/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/261243/ PR: 292454 Reported by: scf Differential Revision: https://reviews.freebsd.org/D547007d33e966b9
x11/nvidia-driver[-devel], x11/nvidia-kmod[-devel], x11/linux-nvidia-libs[-devel], graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.119.02 Update to latest Production Branch of drivers 580.119.02: https://www.nvidia.com/en-us/drivers/details/259043/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/259042/ PR: 291919 Differential Revision: https://reviews.freebsd.org/D54357c58d25dab7
x11/nvidia-driver[-devel], x11/nvidia-kmod[-devel], x11/linux-nvidia-libs[-devel], graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.105.08 Update to latest Production Branch of drivers 580.105.08: https://www.nvidia.com/en-us/drivers/details/257494/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/257493/ As latest production branch of drivers is still newer than the latest version of New Feature Branch [NFB] of drivers 575.64.05, update -devel variants to 580.105.08, too. PR: 290813 Differential Revision: https://reviews.freebsd.org/D535962208426e57
graphics/drm-*-kmod: Update DRM drivers to include an optimisation for AMD GPUs This fixes important slowdowns with AMD GPUs after several hours of uptime. The optimisation was submitted by Olivier Cerner <olce@FreeBSD.org> in the following pull request: https://github.com/freebsd/drm-kmod/pull/377 The optimisation was submitted to all supported DRM driver version, from 5.10 to 6.6. The corresponding NVIDIA DRM ports were adapted at the same time accordingly.0d2a0f1c5b
graphics/nvidia-drm-[510|515|61|66]-kmod[-devel]: Drop excessive BUILD_DEPENDS As per request from Baptiste Daroussin via Matrix, drop BUILD_DEPENDS line from Makefile in each master ports. This is to attempt fixing builds on FreeBSD[-ports]-kmods repo builder. As corresponding graphics/drm-*-kmod ports are not needed to be installed on build, it should be no harm. What's needed is the distfile of corresponding graphics/drm-*-kmod, with including Makefile.version of each corresponding graphics/drm-*-kmod. Reported by: bapt Differential Revision: https://reviews.freebsd.org/D53136213d0257fa
x11/nvidia-driver[-devel], x11/linux-nvidia-libs[-devel], graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.95.05 Update to latest Production Branch of drivers 580.95.05: https://www.nvidia.com/en-us/drivers/details/254666/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/254665/ As latest production branch of drivers is still newer than the latest version of New Feature Branch [NFB] of drivers 575.64.05, update -devel variants to 580.95.05, too. PR: 289940 Reviewed by: scf Differential Revision: https://reviews.freebsd.org/D528317b1c88f42c
x11/nvidia-driver: Split kmod into x11/nvidia-kmod Split out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports, to allow FreeBSD-kmods repo builders building nvidia-related kmod ports. In this update, * split out *.ko from x11/nvidia-driver[-304|-340|-390|470|-devel] into corresponding x11/nvidia-kmod[-304|-340|-390|470|-devel], * switch dependency of graphics/nvidia-drm-*-kmod upon x11/nvidia-driver[-devel] to newly introduced x11/nvidia-kmod[-devel], * make x11/nvidia-driver[-304|-340|-390|470|-devel] depend upon newly introduced x11/nvidia-kmod[-304|-340|-390|470|-devel], * bump consumers directly depending upon x11/nvidia-driver* as of dependency switches, * and hook x11/nvidia-kmod[-304|-340|-390|470|-devel] to build. Note that upgrading x11/nvidia-driver* from monolithic version requires deinstallation of x11/nvidia-driver* before starting, as both previous version of x11/nvidia-driver* and newly introduced x11/nvidia-kmod* installs *.ko into same place. PR: 288314 Approved by: bapt (kmod repo) Differential Revision: https://reviews.freebsd.org/D52178f4e907a492
x11/nvidia-driver[-devel], x11/linux-nvidia-libs[-devel], graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.82.07 Update to latest Production Branch of drivers 580.82.07: https://www.nvidia.com/en-us/drivers/details/253004/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/253003/ As latest production branch of drivers is still newer than the latest version of New Feature Branch [NFB] of drivers 575.64.05, update -devel variants to 580.82.07, too. PR: 289261 Differential Revision: https://reviews.freebsd.org/D523522b2519a398
x11/nvidia-driver[-devel], x11/linux-nvidia-libs[-devel], graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.76.05 Update to latest Production Branch of drivers 580.76.05: https://www.nvidia.com/en-us/drivers/details/252614/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/252613/ As currently latest production branch of drivers is newer than the latest version of New Feature Branch [NFB] of drivers 575.64.05, update -devel variants to 580.76.05, too. While here, clean up workarounds for latest Beta Branch of drivers 580.65.06, which is now older than Production Branch of drivers and had odd version numbers with some of libraries in Linux version. Now Beta 580.65.06 is NO LONGER BUILDABLE. PR: 2889059dbf8452e1
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 570.181 Update to latest Production Branch of drivers 570.181: https://www.nvidia.com/en-us/drivers/details/252413/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/252411/ Also update graphics/egl-wayland to the latest 1.1.20 to match with the one in x11/linux-nvidia-libs. https://github.com/NVIDIA/egl-wayland/commits/1.1.20/ While here, allow trying latest Beta 580.65.06 by overriding version as usual. https://www.nvidia.com/en-us/drivers/details/251358/ https://www.nvidia.com/en-us/drivers/details/251355/ -devel variants would be updated after corresponding NFB is released. PR: 288704 Differential Revision: https://reviews.freebsd.org/D517807b1d621d3b
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-*-kmod: Update to 570.172.08 Update to latest Production Branch of drivers 570.172.08: https://www.nvidia.com/en-us/drivers/details/249196/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/249194/ x11/nvidia-settings and x11/nvidia-xconfig would be updated separately, as upstream (nvidia GitHub repo) is not yet in sync. PR: 288300 Differential Revision: https://reviews.freebsd.org/D51407c2892ec001
x11/nvidia-driver-devel, x11/linux-nvidia-libs-devel, graphics/nvidia-drm[,510,515,61,66]-kmod-devel: Add new ports
Add *-devel versions of nvidia drivers
These ports provides supports for New Feature Branch (NFB) of upstream
nvidia drivers like existing legacy branches of ports.
In some cases, supports for cutting edge GPUs are provided via
NFB of driver packages or Beta branch of drivers.
As Beta Branch of drivers cannot be recommended widely, we decided to
add support for NFB as *-devel version.
This new *-devel versions tracks the latest non-Beta versions
regardless it's NFB or Production Branch of drivers.
This is because, in some cases, major version of Production Branch
of drivers are bumped to larger than the one for corresponding
NFB.
So depending on the timing, *-devel 100% matches non-devel
master ports except for its package name.
Our upgrading policies are:
1. Start investigating whether some additional works are needed to
build/install/run or not when new Beta is found to be released
upstream.
2. If any additional works were needed and done, upgrade master ports
below without updating version nor PORTREVISION of master ports below.
x11/nvidia-driver x11/linux-nvidia-libs graphics/nvidia-drm-*-kmod
and as needed, graphics/nvidia-drm-kmod/Makefile.common would be
updated, too.
3. Once findng new NFB is released upstream, bump versions of *-devel.
Step 2 would "usually" ease this work unless Beta is skipped or
last-minutes breaking changes are introduced.
4. Once finding new Production Branch is released upstream, bump
versions of master ports.
5. Once finding any of Legacy Branch of driver is released upstream,
upgrade corresponding legacy ports. This could need some additional
work, because updated version could incorporate patches from our ports.
Note that graphics/nvidia-drm-*-kmod does NOT support any of
exisiting legacy versions, as they don't yet have codes to
support these ports.
PR: 287268
Differential Revision: https://reviews.freebsd.org/D50697c7cde11f84x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 570.169 Update to latest Production Branch of drivers 570.169: https://www.nvidia.com/en-us/drivers/details/247722/ Linux counterparts for x11/linux-nvidia-libs: https://www.nvidia.com/en-us/drivers/details/247720/ PR: 287641 Differential Revision: https://reviews.freebsd.org/D50915ff354f2f8d
graphics/drm-515-kmod: Update to drm_v5.15.160_5 This update fixes GPU acceleration when switching to VT and back to Xorg. PR: 271995 Sponsored by: Beckhoff Automation GmbH & Co. KG2648f5b3b9
graphics/drm-515-kmod: Update to drm_v5.15.160_4 Fix on current after jiffies was widened. PR: 287165d7a1f45aca
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-*-kmod: Update to 570.153.02 This updates the NVIDIA ports to the latest stable production branch. Changes: https://www.nvidia.com/en-us/drivers/details/245671/ For Linux counterparts: https://www.nvidia.com/en-us/drivers/details/245669/ PR: 287021 Approved by: ashafer Differential Revision: https://reviews.freebsd.org/D5048715ed54d957
graphics/drm-515-kmod: Update to drm_v5.15.160_3 Fix compile on -CURRENT. Reported by: bapt Sponsored by: Beckhoff Automation GmbH & Co. KG940ca091de
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144 This updates the NVIDIA ports to the latest stable production branch. Also bump graphics/egl-wayland to the latest 1.1.19 to match with the one in x11/linux-nvidia-libs. PR: 286307 Approved by: ashafer, kbowling (mentor) Differential Revision: https://reviews.freebsd.org/D499829b6b1bf172
graphics/nvidia-drm-kmod: fix message typo This corrects a typo in pkg-message. Reviewed by: ashafer, kbowling Differential Revision: https://reviews.freebsd.org/D499154792e34d7c
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: update to 570.124.04 This updates the NVIDIA ports to the latest stable production branch. Also bump egl-wayland to the latest 1.1.18. Submitted by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Reviewed by: ashafer Approved by: kbowling(mentor), maintainer timeout (danfe, x11) Differential Revision: https://reviews.freebsd.org/D492450de17c4dce
graphics/drm-515-kmod: Update to drm_v5.15.160_2 This exports all symbols from the modules. See https://github.com/freebsd/drm-kmod/commit/676098fb2f54827d8a2dc7375ceecf62c96d0d66 for the explaination. Sponsored by: Beckhoff Automation GmbH & Co. KGf2cc91f4b5
graphics/nvidia-drm-66-kmod: add new port This adds the corresponding nvidia-drm port for drm-66-kmod. This chases commit 00508c01e276. Sponsored by: NVIDIA Reviewed by: kbowling (mentor), manu Differential Revision: https://reviews.freebsd.org/D490653dc2b5a5bd
x11/nvidia-driver, linux-nvidia-libs, nvidia-drm: Update to 550.127.05 Approved by: blanket, Austin Shafer <ashafer@badland.io> PR: 2823124d5697a502
graphics/nvidia-drm-515-kmod: Bump version after drm-515-kmod update Sponsored by: Beckhoff Automation GmbH & Co. KGf2a03a6a45
graphics/nvidia-drm-{515,61}-kmod: Build fix stable/1450bae22039x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-*-kmod: Update to 550.120 PR: 280772 Approved by: maintainer timeout191bb15a46
graphics/nvidia-drm-kmod: prepare for 555 update This makes a patch ignored on the newer 555 versions, which now ship with it. Also match the behavior or nvidia-drm-kmod to drm-kmod, selecting drm-61-kmod on 14. Differential Revision: https://reviews.freebsd.org/D45400307f754133
graphics/drm-515-kmod: Update to 5.15.160 This brings us up to date with Linux 5.15.160 Sponsored by: Beckhoff Automation GmbH & Co. KG724b2004f0
graphics/nvidia-drm-515-kmod: Fix build on current after ae38a1a1bfdf Approved by: portmgr (blanket unbreak)b48d56f686
graphics/nvidia-drm-kmod: fix build depends and linuxkpi registration This fixes an issue where linuxkpi/DRM compatibility was not being correctly detected, causing sway to not work. The conftest.sh script checks the installed kernel modules for symbol presence, but on package builders drm.ko was not being installed due to being in RUN_DEPENDS instead of BUILD_DEPENDS. This also fixes a panic in sway when an external monitor is plugged into a prime laptop. This uses linux_pci_attach_device when possible to actually register everything needed for the pci dev, instead of just filling in the bare miniumum. Differential Revision: https://reviews.freebsd.org/D443080d98f3a760
graphics/drm-kmod: Update to latest source so it builds on current Update 5.15 and 6.1 to latest source so it builds on latest current version. Sponsored by: Beckhoff Automation GmbH & Co. KG3c7a5bf57d
graphics/nvidia-drm-kmod: Update to 550.54.14 Differential Revision: https://reviews.freebsd.org/D4407371e92b26bd
graphics/nvidia-drm-{510,515}-kmod: Update to 535.146.02
PR: 2755697071f5604d