[PULL] drm-xe-next-fixes

2024-03-14 Thread Lucas De Marchi

Hi Dave and Sima,

Here are the drm-xe fixes for the 6.9 cycle. Just 3 fixes: one trivial
fix for error path handling, one to avoid pinning all VMAs in
drm_gpuvm_exec_lock() when num_batch_buffer passed to xe_exec is 0 and
the other to allow userspace to free userptr while still having
bindings.

Lucas De Marchi

drm-xe-next-fixes-2024-03-14:
Driver changes:

- Invalidate userptr VMA on page pin fault, allowing userspace
  to free userptr while still having bindings
- Fail early on sysfs file creation error
- Skip VMA pinning on xe_exec with num_batch_buffer == 0

The following changes since commit e62d2e00780b4a465c77d2229837495fcbc480d3:

  drm/xe: Replace 'grouped target' in Makefile with pattern rule (2024-03-04 
08:41:28 -0600)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git 
tags/drm-xe-next-fixes-2024-03-14

for you to fetch changes up to dd8a07f06dfd946e0eea1a3323d52e7c28a6ed80:

  drm/xe: Skip VMAs pin when requesting signal to the last XE_EXEC (2024-03-14 
14:29:42 -0500)


Driver changes:

- Invalidate userptr VMA on page pin fault, allowing userspace
  to free userptr while still having bindings
- Fail early on sysfs file creation error
- Skip VMA pinning on xe_exec with num_batch_buffer == 0


Himal Prasad Ghimiray (1):
  drm/xe: Return if kobj creation is failed

José Roberto de Souza (1):
  drm/xe: Skip VMAs pin when requesting signal to the last XE_EXEC

Matthew Brost (1):
  drm/xe: Invalidate userptr VMA on page pin fault

 drivers/gpu/drm/xe/xe_exec.c | 41 
 drivers/gpu/drm/xe/xe_gt_pagefault.c |  4 ++--
 drivers/gpu/drm/xe/xe_trace.h|  2 +-
 drivers/gpu/drm/xe/xe_vm.c   | 32 +---
 drivers/gpu/drm/xe/xe_vm_types.h |  7 ++
 drivers/gpu/drm/xe/xe_vram_freq.c|  4 +++-
 6 files changed, 55 insertions(+), 35 deletions(-)


[PULL] drm-misc-next-fixes

2024-03-14 Thread Thomas Zimmermann
Hi Dave, Sima,

here's the PR for drm-misc-next-fixes for this week. There's a fix
for nouveau BOs and quite a few fixes for get_modes() functions.

Best regards
Thomas

drm-misc-next-fixes-2024-03-14:
Short summary of fixes pull:

probe-helper:
- never return negative values from .get_modes() plus driver fixes

nouveau:
- clear bo resource bus after eviction
- documentation fixes
The following changes since commit 838f865802b9f26135ea7df4e30f89ac2f50c23e:

  arch/powerpc: Remove  from backlight code (2024-03-07 13:34:14 
+0100)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-next-fixes-2024-03-14

for you to fetch changes up to 9dd81b2e1ec72a3759f8d6bb6e9cbef93aab6227:

  drm/exynos: simplify the return value handling in exynos_dp_get_modes() 
(2024-03-13 10:44:14 +0200)


Short summary of fixes pull:

probe-helper:
- never return negative values from .get_modes() plus driver fixes

nouveau:
- clear bo resource bus after eviction
- documentation fixes


Dave Airlie (1):
  nouveau: reset the bo resource bus info after an eviction

Jani Nikula (8):
  drm/probe-helper: warn about negative .get_modes()
  drm/panel: do not return negative error codes from drm_panel_get_modes()
  drm/exynos: do not return negative values from .get_modes()
  drm/bridge: lt8912b: do not return negative values from .get_modes()
  drm/imx/ipuv3: do not return negative values from .get_modes()
  drm/vc4: hdmi: do not return negative values from .get_modes()
  drm/bridge: lt9611uxc: use int for holding number of modes
  drm/exynos: simplify the return value handling in exynos_dp_get_modes()

Timur Tabi (1):
  drm/nouveau: fix kerneldoc warnings

 drivers/gpu/drm/bridge/lontium-lt8912b.c   | 16 +++-
 drivers/gpu/drm/bridge/lontium-lt9611uxc.c |  2 +-
 drivers/gpu/drm/drm_panel.c| 17 +++--
 drivers/gpu/drm/drm_probe_helper.c |  7 +++
 drivers/gpu/drm/exynos/exynos_dp.c |  7 +++
 drivers/gpu/drm/exynos/exynos_drm_vidi.c   |  4 ++--
 drivers/gpu/drm/exynos/exynos_hdmi.c   |  4 ++--
 drivers/gpu/drm/imx/ipuv3/parallel-display.c   |  4 ++--
 drivers/gpu/drm/nouveau/nouveau_bo.c   |  2 ++
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c |  9 +
 drivers/gpu/drm/vc4/vc4_hdmi.c |  2 +-
 include/drm/drm_modeset_helper_vtables.h   |  3 ++-
 12 files changed, 49 insertions(+), 28 deletions(-)

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)