[PULL] drm-misc-next

2023-07-13 Thread Thomas Zimmermann
Hi Dave and Daniel,

this is the main pull request for drm-misc-next for what will become
Linux v6.6. Some noteworthy changes are:

 * GEM got execution contexts that help with locking multiple GEM
   objects at once.

 * All DRM drivers can now self-import their own dma-bufs by default.
   This enables wlroots-based Wayland compositors to run on drivers
   that do not implement full PRIME support.

 * Fbdev userspace interfaces are fully optional. Hopefully distros
   will switch them off by default.

 * There's a new driver for Loongson display controllers.

And of course, there's the usual number of updates, fixes and smaller
improvements throughout the DRM subsystem.

Best regards
Thomas

drm-misc-next-2023-07-13:
drm-misc-next for v6.6:

UAPI Changes:

 * fbdev:
   * Make fbdev userspace interfaces optional; only leaves the
 framebuffer console active

 * prime:
   * Support dma-buf self-import for all drivers automatically: improves
 support for many userspace compositors

Cross-subsystem Changes:

 * backlight:
   * Fix interaction with fbdev in several drivers

 * base: Convert struct platform.remove to return void; part of a larger,
   tree-wide effort

 * dma-buf: Acquire reservation lock for mmap() in exporters; part
   of an on-going effort to simplify locking around dma-bufs

 * fbdev:
   * Use Linux device instead of fbdev device in many places
   * Use deferred-I/O helper macros in various drivers

 * i2c: Convert struct i2c from .probe_new to .probe; part of a larger,
   tree-wide effort

 * video:
   * Avoid including 

Core Changes:

 * atomic:
   * Improve logging

 * prime:
   * Remove struct drm_driver.gem_prime_mmap plus driver updates: all
 drivers now implement this callback with drm_gem_prime_mmap()

 * gem:
   * Support execution contexts: provides locking over multiple GEM
 objects

 * ttm:
   * Support init_on_free
   * Swapout fixes

Driver Changes:

 * accel:
   * ivpu: MMU updates; Support debugfs

 * ast:
   * Improve device-model detection
   * Cleanups

 * bridge:
   * dw-hdmi: Improve support for YUV420 bus format
   * dw-mipi-dsi: Fix enable/disable of DSI controller
   * lt9611uxc: Use MODULE_FIRMWARE()
   * ps8640: Remove broken EDID code
   * samsung-dsim: Fix command transfer
   * tc358764: Handle HS/VS polarity; Use BIT() macro; Various cleanups
   * Cleanups

 * ingenic:
   * Kconfig REGMAP fixes

 * loongson:
   * Support display controller

 * mgag200:
   * Minor fixes

 * mxsfb:
   * Support disabling overlay planes

 * nouveau:
   * Improve VRAM detection
   * Various fixes and cleanups

 * panel:
   * panel-edp: Support AUO B116XAB01.4
   * Support Visionox R66451 plus DT bindings
   * Cleanups

 * ssd130x:
   * Support per-controller default resolution plus DT bindings
   * Reduce memory-allocation overhead
   * Cleanups

 * tidss:
   * Support TI AM625 plus DT bindings
   * Implement new connector model plus driver updates

 * vkms
   * Improve write-back support
   * Documentation fixes
The following changes since commit dcb0775d36de28992f56455ab3967b30d380:

  Merge tag 'drm-msm-next-2023-06-18' of https://gitlab.freedesktop.org/drm/msm 
into drm-next (2023-06-19 16:01:46 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2023-07-13

for you to fetch changes up to 36672dda2eb715af99e9abbcdc400d46598b691c:

  drm/loongson: Remove a useless check in cursor_plane_atomic_async_check() 
(2023-07-13 01:24:42 +0800)


drm-misc-next for v6.6:

UAPI Changes:

 * fbdev:
   * Make fbdev userspace interfaces optional; only leaves the
 framebuffer console active

 * prime:
   * Support dma-buf self-import for all drivers automatically: improves
 support for many userspace compositors

Cross-subsystem Changes:

 * backlight:
   * Fix interaction with fbdev in several drivers

 * base: Convert struct platform.remove to return void; part of a larger,
   tree-wide effort

 * dma-buf: Acquire reservation lock for mmap() in exporters; part
   of an on-going effort to simplify locking around dma-bufs

 * fbdev:
   * Use Linux device instead of fbdev device in many places
   * Use deferred-I/O helper macros in various drivers

 * i2c: Convert struct i2c from .probe_new to .probe; part of a larger,
   tree-wide effort

 * video:
   * Avoid including 

Core Changes:

 * atomic:
   * Improve logging

 * prime:
   * Remove struct drm_driver.gem_prime_mmap plus driver updates: all
 drivers now implement this callback with drm_gem_prime_mmap()

 * gem:
   * Support execution contexts: provides locking over multiple GEM
 objects

 * ttm:
   * Support init_on_free
   * Swapout fixes

Driver Changes:

 * accel:
   * ivpu: MMU updates; Support debugfs

 * ast:
   * Improve device-model detection
   * Cleanups

 * bridge:
   * dw-hdmi: Improve support for YUV420 bus format
   * dw-mipi-dsi: Fix enable/disable of DSI controller
 

[PULL] drm-misc-fixes

2023-07-13 Thread Maxime Ripard
Hi,

Sending again because I had to send it by hand and forgot to add all the
recipients in Cc.

Here's this week drm-misc-fixes PR, plus last week as well that got
dropped for some reason.

Thanks!
Maxime

The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

  Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

  ssh://git.freedesktop.org/git/drm/drm-misc tags/drm-misc-fixes-2023-07-13

for you to fetch changes up to 835a65f51790e1f72b1ab106ec89db9ac15b47d6:

  drm/nouveau: bring back blit subchannel for pre nv50 GPUs (2023-07-12 
22:38:41 +0200)


A couple of nouveau patches addressing improving HDMI support and
firmware handling, a fix for TTM to skip pinned BO when evicting, and a
fix for the fbdev documentation.


Adrián Larumbe (1):
  drm: bridge: dw_hdmi: fix connector access for scdc

Boris Brezillon (2):
  drm/sched: Make sure we wait for all dependencies in kill_jobs_cb()
  drm/sched: Call drm_sched_fence_set_parent() from 
drm_sched_fence_scheduled()

Christian König (3):
  drm/ttm: fix warning that we shouldn't mix && and ||
  dma-buf: keep the signaling time of merged fences v3
  drm/ttm: never consider pinned BOs for eviction

Dan Carpenter (1):
  dma-buf: fix an error pointer vs NULL bug

Douglas Anderson (1):
  drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime

Fabio Estevam (1):
  drm/panel: simple: Add connector_type for innolux_at043tn24

Geert Uytterhoeven (1):
  drm/fbdev-dma: Fix documented default preferred_bpp value

Karol Herbst (4):
  drm/nouveau/disp: fix HDMI on gt215+
  drm/nouveau/disp/g94: enable HDMI
  drm/nouveau/acr: Abort loading ACR if no firmware was found
  drm/nouveau: bring back blit subchannel for pre nv50 GPUs

Karol Wachowski (2):
  accel/ivpu: Fix VPU register access in irq disable
  accel/ivpu: Clear specific interrupt status bits on C0

Lyude Paul (1):
  drm/nouveau/kms/nv50-: Fix drm_dp_remove_payload() invocation

Marek Vasut (1):
  drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags

Maxime Ripard (1):
  Merge v6.5-rc1 into drm-misc-fixes

Thomas Hellström (2):
  drm/ttm: Don't leak a resource on eviction error
  drm/ttm: Don't leak a resource on swapout move error

Thomas Zimmermann (1):
  drm/client: Send hotplug event after registering a client

Yunxiang Li (1):
  drm/ttm: fix bulk_move corruption when adding a entry

 drivers/accel/ivpu/ivpu_drv.h|  1 +
 drivers/accel/ivpu/ivpu_hw_mtl.c | 20 
 drivers/dma-buf/dma-fence-unwrap.c   | 26 ---
 drivers/dma-buf/dma-fence.c  |  7 ++--
 drivers/gpu/drm/armada/armada_fbdev.c|  4 ---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c|  9 +++---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c| 35 
 drivers/gpu/drm/drm_client.c | 21 
 drivers/gpu/drm/drm_fbdev_dma.c  |  6 +---
 drivers/gpu/drm/drm_fbdev_generic.c  |  4 ---
 drivers/gpu/drm/drm_syncobj.c|  6 ++--
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c|  4 ---
 drivers/gpu/drm/gma500/fbdev.c   |  4 ---
 drivers/gpu/drm/msm/msm_fbdev.c  |  4 ---
 drivers/gpu/drm/nouveau/dispnv50/disp.c  |  8 +++--
 drivers/gpu/drm/nouveau/nouveau_chan.c   |  1 +
 drivers/gpu/drm/nouveau/nouveau_chan.h   |  1 +
 drivers/gpu/drm/nouveau/nouveau_drm.c| 20 ++--
 drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c   |  1 +
 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c   |  2 +-
 drivers/gpu/drm/omapdrm/omap_fbdev.c |  4 ---
 drivers/gpu/drm/panel/panel-simple.c |  2 ++
 drivers/gpu/drm/radeon/radeon_fbdev.c|  4 ---
 drivers/gpu/drm/scheduler/sched_entity.c | 41 +++-
 drivers/gpu/drm/scheduler/sched_fence.c  | 40 ++-
 drivers/gpu/drm/scheduler/sched_main.c   |  3 +-
 drivers/gpu/drm/tegra/fbdev.c|  4 ---
 drivers/gpu/drm/ttm/ttm_bo.c | 29 ++---
 drivers/gpu/drm/ttm/ttm_resource.c   |  5 ++-
 include/drm/gpu_scheduler.h  |  5 ++-
 include/linux/dma-fence.h|  2 +-
 32 files changed, 206 insertions(+), 119 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-intel-fixes

2023-07-13 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Just a few small fixes for the 6.5 RC this week - one functional fixup for
reading of perf/OA buffers and some code cleanups elsewhere.

Regards,

Tvrtko

drm-intel-fixes-2023-07-13:
- Don't preserve dpll_hw_state for slave crtc in Bigjoiner (Stanislav Lisovskiy)
- Consider OA buffer boundary when zeroing out reports [perf] (Umesh Nerlige 
Ramappa)
- Remove dead code from gen8_pte_encode (Tvrtko Ursulin)
- Fix one wrong caching mode enum usage (Tvrtko Ursulin)
The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

  Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-07-13

for you to fetch changes up to 113899c2669dff148b2a5bea4780123811aecc13:

  drm/i915: Fix one wrong caching mode enum usage (2023-07-11 09:21:32 +0100)


- Don't preserve dpll_hw_state for slave crtc in Bigjoiner (Stanislav Lisovskiy)
- Consider OA buffer boundary when zeroing out reports [perf] (Umesh Nerlige 
Ramappa)
- Remove dead code from gen8_pte_encode (Tvrtko Ursulin)
- Fix one wrong caching mode enum usage (Tvrtko Ursulin)


Stanislav Lisovskiy (1):
  drm/i915: Don't preserve dpll_hw_state for slave crtc in Bigjoiner

Tvrtko Ursulin (2):
  drm/i915: Remove dead code from gen8_pte_encode
  drm/i915: Fix one wrong caching mode enum usage

Umesh Nerlige Ramappa (1):
  drm/i915/perf: Consider OA buffer boundary when zeroing out reports

 drivers/gpu/drm/i915/display/intel_display.c |  1 -
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c |  3 ---
 drivers/gpu/drm/i915/gt/intel_gtt.c  |  2 +-
 drivers/gpu/drm/i915/i915_perf.c | 11 ++-
 4 files changed, 11 insertions(+), 6 deletions(-)