[PULL] drm-misc-fixes

Maarten Lankhorst
2025-07-10T08:59:02Z

Hi Dave, Simona,

Pull request for v6.16!

Best regards,
~Maarten

drm-misc-fixes-2025-07-10:
drm-misc-fixes for v6.16-rc6 or final:
- Fix nouveau fail on debugfs errors.
- Magic 50 ms to fix nouveau suspend.
- Call rust destructor on drm device release.
- Fix DMA api error handling in tegra/nvdec.
- Fix PVR device reset.
- Habanalabs maintainer update.
- Small memory leak fix when nouveau acpi init fails.
- Do not attempt to bind to any PCI device with AGP capability.
- Make FB's acquire handles on backing object, same as i915/xe already does.
- Fix race in drm_gem_handle_create_tail.
The following changes since commit 226862f50a7a88e4e4de9abbf36c64d19acd6fd0:

drm/v3d: Disable interrupts before resetting the GPU (2025-07-02 19:08:11 -0300)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-fixes-2025-07-10

for you to fetch changes up to bd46cece51a36ef088f22ef0416ac13b0a46d5b0:

drm/gem: Fix race in drm_gem_handle_create_tail() (2025-07-09 15:53:34 +0200)

----------------------------------------------------------------
drm-misc-fixes for v6.16-rc6 or final:
- Fix nouveau fail on debugfs errors.
- Magic 50 ms to fix nouveau suspend.
- Call rust destructor on drm device release.
- Fix DMA api error handling in tegra/nvdec.
- Fix PVR device reset.
- Habanalabs maintainer update.
- Small memory leak fix when nouveau acpi init fails.
- Do not attempt to bind to any PCI device with AGP capability.
- Make FB's acquire handles on backing object, same as i915/xe already does.
- Fix race in drm_gem_handle_create_tail.

----------------------------------------------------------------
Aaron Thompson (1):
drm/nouveau: Do not fail module init on debugfs errors

Alessio Belle (1):
drm/imagination: Fix kernel crash when hard resetting the GPU

Ben Skeggs (1):
drm/nouveau/gsp: fix potential leak of memory used during acpi init

Danilo Krummrich (1):
rust: drm: device: drop_in_place() the drm::Device in release()

Dave Airlie (1):
nouveau/gsp: add a 50ms delay between fbsr and driver unload rpcs

Lukas Wunner (1):
agp/amd64: Check AGP Capability before binding to unsupported devices

Mikko Perttunen (1):
drm/tegra: nvdec: Fix dma_alloc_coherent error check

Ofir Bitton (1):
MAINTAINERS: Change habanalabs maintainer

Simona Vetter (1):
drm/gem: Fix race in drm_gem_handle_create_tail()

Tamir Duberstein (1):
rust: drm: remove unnecessary imports

Thomas Zimmermann (1):
drm/framebuffer: Acquire internal references on GEM handles

MAINTAINERS | 2 +-
drivers/char/agp/amd64-agp.c | 16 ++++----
drivers/gpu/drm/drm_framebuffer.c | 31 +++++++++++++-
drivers/gpu/drm/drm_gem.c | 48 +++++++++++++++-------
drivers/gpu/drm/drm_gem_framebuffer_helper.c | 16 ++++----
drivers/gpu/drm/drm_internal.h | 2 +-
drivers/gpu/drm/drm_panic_qr.rs | 2 +-
drivers/gpu/drm/imagination/pvr_power.c | 4 +-
drivers/gpu/drm/nouveau/nouveau_debugfs.c | 6 +--
drivers/gpu/drm/nouveau/nouveau_debugfs.h | 5 +--
drivers/gpu/drm/nouveau/nouveau_drm.c | 4 +-
.../gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c | 27 +++++++++---
drivers/gpu/drm/tegra/nvdec.c | 6 +--
include/drm/drm_file.h | 3 ++
include/drm/drm_framebuffer.h | 7 ++++
rust/kernel/drm/device.rs | 12 +++++-
rust/kernel/drm/driver.rs | 1 -
17 files changed, 130 insertions(+), 62 deletions(-)