[PULL] drm-misc-next

2023-03-16 Thread Maarten Lankhorst

Hi Dave, Daniel,

Here's the new weekly pull request for v6.4-rc1.

I've omitted the diffstat, as it was huge because v6.3-rc1 was backmerged.

Cheers,

~Maarten

drm-misc-next-2023-03-16:

drm-misc-next for v6.4-rc1:

Cross-subsystem Changes:
- Add drm_bridge.h to drm_bridge maintainers.

Core Changes:
- Assorted fixes to TTM, tests, format-helper, accel.
- Assorted Makefile fixes to drivers and accel.
- Implement fbdev emulation for GEM DMA drivers, and convert a lot of
  drivers to use it.
- Use tgid instead of pid for tracking clients.

Driver Changes:
- Assorted fixes in rockchip, vmwgfx, nouveau, cirrus.
- Add imx25 driver.
- Add Elida KD50T048A, Sony TD4353, Novatek NT36523, STARRY 
2081101QFH032011-53G panels.

- Add 4K mode support to rockchip.
- Convert cirrus to use regular atomic helpers, and more cirrus
  improvements.
- Add damage clipping to cirrus, virtio.
The following changes since commit 9228742caf899fa72230dd8da19ca4c7528badb8:

  drm/nouveau/hwmon: Use sysfs_emit in show function callsbacks 
(2023-03-06 19:42:50 -0500)


are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2023-03-16

for you to fetch changes up to b24343eaceedb902c1625854f85a193b0549d85f:

  drm/nouveau/nvfw/acr: set wpr_generic_header_dump 
storage-class-specifier to static (2023-03-16 14:53:15 +0100)



drm-misc-next for v6.4-rc1:

Cross-subsystem Changes:
- Add drm_bridge.h to drm_bridge maintainers.

Core Changes:
- Assorted fixes to TTM, tests, format-helper, accel.
- Assorted Makefile fixes to drivers and accel.
- Implement fbdev emulation for GEM DMA drivers, and convert a lot of
  drivers to use it.
- Use tgid instead of pid for tracking clients.

Driver Changes:
- Assorted fixes in rockchip, vmwgfx, nouveau, cirrus.
- Add imx25 driver.
- Add Elida KD50T048A, Sony TD4353, Novatek NT36523, STARRY 
2081101QFH032011-53G panels.

- Add 4K mode support to rockchip.
- Convert cirrus to use regular atomic helpers, and more cirrus
  improvements.
- Add damage clipping to cirrus, virtio.


Fabio Estevam (2):
  dt-bindings: display: seiko,43wvf1g: Add the 'enable-gpios' property
  drm/panel: seiko-43wvf1g: Add the 'enable-gpios' property

Gerald Loacker (1):
  drm/rockchip: vop2: add polarity flags to RGB output

Jacob Keller (1):
  drm/rockchip: vop2: use struct_size() in vop2_bind

Javier Martinez Canillas (2):
  drm/format-helper: Make conversion_buf_size() support sub-byte 
pixel fmts

  drm/virtio: Enable fb damage clips property for the primary plane

Jianhua Lu (2):
  dt-bindings: display: panel: Add Novatek NT36523 bindings
  drm/panel: Add driver for Novatek NT36523

Jiapeng Chong (1):
  drm/rockchip: dsi: Remove the unused function dsi_read()

Konrad Dybcio (2):
  dt-bindings: display/panel: Add Sony Tama TD4353 JDI display panel
  gpu/drm/panel: Add Sony TD4353 JDI panel driver

Linus Walleij (1):
  drm/mcde: Do not use dirty GEM FB handling

Liu Ying (1):
  MAINTAINERS: Add include/drm/drm_bridge.h to DRM DRIVERS FOR 
BRIDGE CHIPS


Marian Cichy (1):
  drm/imx/lcdc: Implement DRM driver for imx25

Maya Matuszczyk (3):
  dt-bindings: display: panel: sitronix,st7701: Add Elida KD50T048A 
Panel

  drm: panel: Add Elida KD50T048A to Sitronix ST7701 driver
  drm: panel: Add orientation support for st7701

Ruihai Zhou (2):
  dt-bindings: display: panel: Add compatible for Starry 
2081101QFH032011-53G

  drm/panel: support for STARRY 2081101QFH032011-53G MIPI-DSI panel

Sascha Hauer (4):
  drm/rockchip: vop: limit maximum resolution to hardware capabilities
  drm/rockchip: dw_hdmi: relax mode_valid hook
  drm/rockchip: dw_hdmi: Add support for 4k@30 resolution
  drm/rockchip: dw_hdmi: discard modes with unachievable pixelclocks

Stanislaw Gruszka (1):
  accel: Build sub-directories based on config options

Thomas Hellström (3):
  drm/ttm: Use the BIT macro for the TTM_TT_FLAGs
  drm/ttm: Unexport ttm_global_swapout()
  drm/ttm: Don't print error message if eviction was interrupted

Thomas Zimmermann (42):
  Merge drm/drm-next into drm-misc-next
  drm/cirrus: Compute blit destination offset in single location
  drm/cirrus: Replace cpp value with format
  drm/cirrus: Use drm_fb_blit() to update scanout buffer
  drm/cirrus: Move drm_dev_{enter, exit}() into DRM helpers
  drm/cirrus: Split cirrus_mode_set() into smaller functions
  drm/cirrus: Integrate connector into pipeline code
  drm/cirrus: Move primary-plane format arrays
  drm/cirrus: Convert to regular atomic helpers
  drm/cirrus: Enable damage clipping on primary plane
  drm/cirrus: Inline cirrus_fb_blit_rect()
  drm/cirrus: Remove format test from cirrus_fb_create()
  drm/cirrus: Remove size test from cirrus_fb_create()

[PULL] drm-misc-fixes

2023-03-16 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's the weekly PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-03-16:
Short summary of fixes pull:

 * fix info leak in edid
 * build fix for accel/
 * ref-counting fix for fbdev deferred I/O
 * driver fixes
The following changes since commit eeac8ede17557680855031c6f305ece2378af326:

  Linux 6.3-rc2 (2023-03-12 16:36:44 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-03-16

for you to fetch changes up to 4028cbf867f70a3c599c9b0c9509334c56ed97d7:

  drm/meson: dw-hdmi: Fix devm_regulator_*get_enable*() conversion again 
(2023-03-15 10:06:46 +0100)


Short summary of fixes pull:

 * fix info leak in edid
 * build fix for accel/
 * ref-counting fix for fbdev deferred I/O
 * driver fixes


Christian Hewitt (1):
  drm/meson: fix 1px pink line on GXM when scaling video overlay

Dan Carpenter (1):
  fbdev: chipsfb: Fix error codes in chipsfb_pci_init()

Dmitry Osipenko (3):
  drm/shmem-helper: Remove another errant put in error path
  drm/msm/gem: Prevent blocking within shrinker loop
  drm/panfrost: Don't sync rpm suspension after mmu flushing

Johan Hovold (2):
  drm/edid: fix info leak when failing to get panel id
  drm/sun4i: fix missing component unbind on bind errors

Liu Ying (1):
  drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts 
kdoc

Marek Szyprowski (1):
  drm/meson: dw-hdmi: Fix devm_regulator_*get_enable*() conversion again

Oleksandr Tyshchenko (1):
  drm/virtio: Pass correct device to dma_sync_sgtable_for_device()

Stanislaw Gruszka (1):
  accel: Build sub-directories based on config options

Takashi Iwai (1):
  fbdev: Fix incorrect page mapping clearance at fb_deferred_io_release()

Thomas Hellström (1):
  drm/ttm: Fix a NULL pointer dereference

Thomas Zimmermann (1):
  Merge drm/drm-fixes into drm-misc-fixes

 drivers/accel/Makefile  |  4 ++--
 drivers/gpu/drm/drm_edid.c  |  2 +-
 drivers/gpu/drm/drm_gem.c   |  9 +++--
 drivers/gpu/drm/drm_gem_shmem_helper.c  |  9 ++---
 drivers/gpu/drm/meson/meson_dw_hdmi.c   |  2 +-
 drivers/gpu/drm/meson/meson_vpp.c   |  2 ++
 drivers/gpu/drm/msm/msm_gem_shrinker.c  | 11 +--
 drivers/gpu/drm/panfrost/panfrost_mmu.c |  2 +-
 drivers/gpu/drm/sun4i/sun4i_drv.c   |  6 --
 drivers/gpu/drm/ttm/ttm_device.c|  2 +-
 drivers/gpu/drm/virtio/virtgpu_vq.c |  4 ++--
 drivers/video/fbdev/chipsfb.c   | 14 ++
 drivers/video/fbdev/core/fb_defio.c | 17 +
 include/drm/drm_bridge.h|  4 ++--
 include/drm/drm_gem.h   |  4 +++-
 include/linux/fb.h  |  1 +
 16 files changed, 65 insertions(+), 28 deletions(-)

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


[PULL] drm-intel-gt-next

2023-03-16 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here's the first batch of drm-intel-gt-next towards v6.4.

There is an important performance monitoring fix (#6333), more
resiliency to pcode load delay and avoiding caching problems on LLC
systems for ring buffers. Stolen memory probing fix and a
missing register whitelisting for Gen12. Fix for potential OOB access
on SSEU max_subslices array.

Improvements to error capture on GuC, corrections to workarounds
power domains across Gen11/Gen12 with subject to runtime PM.

Then the regular bunch of smaller tweaks, restructuring and cleanups
not to forget documentation, sparse and selftest improvements.

Regards, Joonas

***

drm-intel-gt-next-2023-03-16:

Driver Changes:

- Fix issue #6333: "list_add corruption" and full system lockup from
  performance monitoring (Janusz)
- Give the punit time to settle before fatally failing (Aravind, Chris)
- Don't use stolen memory or BAR for ring buffers on LLC platforms (John)
- Add missing ecodes and correct timeline seqno on GuC error captures (John)
- Make sure DSM size has correct 1MiB granularity on Gen12+ (Nirmoy,
  Lucas)
- Fix potential SSEU max_subslices array-index-out-of-bounds access on Gen11 
(Andrea)
- Whitelist COMMON_SLICE_CHICKEN3 for UMD access on Gen12+ (Matt R.)
- Apply Wa_1408615072/Wa_1407596294 correctly on Gen11 (Matt R)
- Apply LNCF/LBCF workarounds correctly on XeHP SDV/PVC/DG2 (Matt R)
- Implement Wa_1606376872 for Xe_LP (Gustavo)
- Consider GSI offset when doing MCR lookups on Meteorlake+ (Matt R.)
- Add engine TLB invalidation for Meteorlake (Matt R.)
- Fix GSC Driver-FLR completion on Meteorlake (Alan)
- Fix GSC races on driver load/unload on Meteorlake+ (Daniele)
- Disable MC6 for MTL A step (Badal)

- Consolidate TLB invalidation flow (Tvrtko)
- Improve debug GuC/HuC debug messages (Michal Wa., John)
- Move fd_install after last use of fence (Rob)
- Initialize the obj flags for shmem objects (Aravind)
- Fix missing debug object activation (Nirmoy)
- Probe lmem before the stolen portion (Matt A)
- Improve clean up of GuC busyness stats worker (John)
- Fix missing return code checks in GuC submission init (John)
- Annotate two more workaround/tuning registers as MCR on PVC (Matt R)
- Fix GEN8_MISCCPCTL definition and remove unused INF_UNIT_LEVEL_CLKGATE (Lucas)
- Use sysfs_emit() and sysfs_emit_at() (Nirmoy)
- Make kobj_type structures constant (Thomas W.)
- make kobj attributes const on gt/ (Jani)
- Remove the unused virtualized start hack on buddy allocator (Matt A)
- Remove redundant check for DG1 (Lucas)
- Move DG2 tuning to the right function (Lucas)
- Rename dev_priv to i915 for private data naming consistency in gt/ (Andi)
- Remove unnecessary whitelisting of CS_CTX_TIMESTAMP on Xe_HP platforms (Matt 
R.)
-

- Escape wildcard in method names in kerneldoc (Bagas)
- Selftest improvements (Chris, Jonathan, Tvrtko, Anshuman, Tejas)
- Fix sparse warnings (Jani)
The following changes since commit 003e11ed2ef4af01b808f0f193eaa5a32f32383b:

  drm/i915/mtl: Wa_22011802037: don't complain about missing regs on MTL 
(2023-01-31 15:17:30 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-gt-next-2023-03-16

for you to fetch changes up to d2a9692ad4295e227e3352fdbf14b8491b01e1c9:

  drm/i915/gt: make kobj attributes const (2023-03-15 12:20:11 +0200)


Driver Changes:

- Fix issue #6333: "list_add corruption" and full system lockup from
  performance monitoring (Janusz)
- Give the punit time to settle before fatally failing (Aravind, Chris)
- Don't use stolen memory or BAR for ring buffers on LLC platforms (John)
- Add missing ecodes and correct timeline seqno on GuC error captures (John)
- Make sure DSM size has correct 1MiB granularity on Gen12+ (Nirmoy,
  Lucas)
- Fix potential SSEU max_subslices array-index-out-of-bounds access on Gen11 
(Andrea)
- Whitelist COMMON_SLICE_CHICKEN3 for UMD access on Gen12+ (Matt R.)
- Apply Wa_1408615072/Wa_1407596294 correctly on Gen11 (Matt R)
- Apply LNCF/LBCF workarounds correctly on XeHP SDV/PVC/DG2 (Matt R)
- Implement Wa_1606376872 for Xe_LP (Gustavo)
- Consider GSI offset when doing MCR lookups on Meteorlake+ (Matt R.)
- Add engine TLB invalidation for Meteorlake (Matt R.)
- Fix GSC Driver-FLR completion on Meteorlake (Alan)
- Fix GSC races on driver load/unload on Meteorlake+ (Daniele)
- Disable MC6 for MTL A step (Badal)

- Consolidate TLB invalidation flow (Tvrtko)
- Improve debug GuC/HuC debug messages (Michal Wa., John)
- Move fd_install after last use of fence (Rob)
- Initialize the obj flags for shmem objects (Aravind)
- Fix missing debug object activation (Nirmoy)
- Probe lmem before the stolen portion (Matt A)
- Improve clean up of GuC busyness stats worker (John)
- Fix missing return code checks in GuC submission init (John)
- Annotate two more workaround/tuning registers as MCR on PVC (Matt R)
- Fix GEN8_MISCCPCTL definition and remove unused