mbox series

[PULL] drm-misc-next

Message ID 20221020072405.g3o4hxuk75gmeumw@houat (mailing list archive)
State New, archived
Headers show
Series [PULL] drm-misc-next | expand

Pull-request

git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2022-10-20

Message

Maxime Ripard Oct. 20, 2022, 7:24 a.m. UTC
Hi Dave, Daniel,

Here's this week drm-misc-next PR

Maxime

drm-misc-next-2022-10-20:
drm-misc-next for 6.2:

UAPI Changes:
  - Documentation for page-flip flags

Cross-subsystem Changes:
  - dma-buf: Add unlocked variant of vmapping and attachment-mapping
    functions

Core Changes:
  - atomic-helpers: CRTC primary plane test fixes
  - connector: TV API consistency improvements, cmdline parsing
    improvements
  - crtc-helpers: Introduce drm_crtc_helper_atomic_check() helper
  - edid: Fixes for HFVSDB parsing,
  - fourcc: Addition of the Vivante tiled modifier
  - makefile: Sort and reorganize the objects files
  - mode_config: Remove fb_base from drm_mode_config_funcs
  - sched: Add a module parameter to change the scheduling policy,
    refcounting fix for fences
  - tests: Sort the Kunit tests in the Makefile, improvements to the
    DP-MST tests
  - ttm: Remove unnecessary drm_mm_clean() call

Driver Changes:
  - New driver: ofdrm
  - Move all drivers to a common dma-buf locking convention
  - bridge:
    - adv7533: Remove dynamic lane switching
    - it6505: Runtime PM support
    - ps8640: Handle AUX defer messages
    - tc358775: Drop soft-reset over I2C
  - ast: Atomic Gamma LUT Support, Convert to SHMEM, various
    improvements
  - lcdif: Support for YUV planes
  - mgag200: Fix PLL Setup on some revisions
  - udl: Modesetting improvements, hot-unplug support
  - vc4: Fix support for PAL-M
The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2022-10-20

for you to fetch changes up to 7c99616e3fe7f35fe25bf6f5797267da29b4751e:

  drm: Remove drm_mode_config::fb_base (2022-10-19 21:46:16 -0400)

----------------------------------------------------------------
drm-misc-next for 6.2:

UAPI Changes:
  - Documentation for page-flip flags

Cross-subsystem Changes:
  - dma-buf: Add unlocked variant of vmapping and attachment-mapping
    functions

Core Changes:
  - atomic-helpers: CRTC primary plane test fixes
  - connector: TV API consistency improvements, cmdline parsing
    improvements
  - crtc-helpers: Introduce drm_crtc_helper_atomic_check() helper
  - edid: Fixes for HFVSDB parsing,
  - fourcc: Addition of the Vivante tiled modifier
  - makefile: Sort and reorganize the objects files
  - mode_config: Remove fb_base from drm_mode_config_funcs
  - sched: Add a module parameter to change the scheduling policy,
    refcounting fix for fences
  - tests: Sort the Kunit tests in the Makefile, improvements to the
    DP-MST tests
  - ttm: Remove unnecessary drm_mm_clean() call

Driver Changes:
  - New driver: ofdrm
  - Move all drivers to a common dma-buf locking convention
  - bridge:
    - adv7533: Remove dynamic lane switching
    - it6505: Runtime PM support
    - ps8640: Handle AUX defer messages
    - tc358775: Drop soft-reset over I2C
  - ast: Atomic Gamma LUT Support, Convert to SHMEM, various
    improvements
  - lcdif: Support for YUV planes
  - mgag200: Fix PLL Setup on some revisions
  - udl: Modesetting improvements, hot-unplug support
  - vc4: Fix support for PAL-M

----------------------------------------------------------------
Abhinav Kumar (1):
      drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

Andrey Grodzovsky (1):
      drm/sched: Add FIFO sched policy to run queue

Ankit Nautiyal (4):
      drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink
      drm/edid: Split DSC parsing into separate function
      drm/edid: Refactor HFVSDB parsing for DSC1.2
      drm/edid: Avoid multiple log lines for HFVSDB parsing

Christian König (2):
      drm/scheduler: fix fence ref counting
      drm/sched: add missing NULL check in drm_sched_get_cleanup_job v2

Dmitry Osipenko (21):
      dma-buf: Add unlocked variant of vmapping functions
      dma-buf: Add unlocked variant of attachment-mapping functions
      drm/gem: Take reservation lock for vmap/vunmap operations
      drm/prime: Prepare to dynamic dma-buf locking specification
      drm/armada: Prepare to dynamic dma-buf locking specification
      drm/i915: Prepare to dynamic dma-buf locking specification
      drm/omapdrm: Prepare to dynamic dma-buf locking specification
      drm/tegra: Prepare to dynamic dma-buf locking specification
      drm/etnaviv: Prepare to dynamic dma-buf locking specification
      RDMA/umem: Prepare to dynamic dma-buf locking specification
      misc: fastrpc: Prepare to dynamic dma-buf locking specification
      xen/gntdev: Prepare to dynamic dma-buf locking specification
      media: videobuf2: Prepare to dynamic dma-buf locking specification
      media: tegra-vde: Prepare to dynamic dma-buf locking specification
      dma-buf: Move dma_buf_vmap() to dynamic locking specification
      dma-buf: Move dma_buf_attach() to dynamic locking specification
      dma-buf: Move dma_buf_map_attachment() to dynamic locking specification
      dma-buf: Move dma_buf_mmap() to dynamic locking specification
      dma-buf: Document dynamic locking convention
      media: videobuf2: Stop using internal dma-buf lock
      dma-buf: Remove obsoleted internal lock

Geert Uytterhoeven (1):
      drm/modes: parse_cmdline: Add support for named modes containing dashes

Jani Nikula (1):
      drm: split build lists one per line and sort

Jason Yen (1):
      drm/bridge: ps8640: Add software to support aux defer

Javier Martinez Canillas (5):
      drm/ssd130x: Iterate over damage clips instead of using a merged rect
      drm/mgag200: Do not call drm_atomic_add_affected_planes()
      drm/simpledrm: Do not call drm_atomic_add_affected_planes()
      drm/ssd130x: Do not call drm_atomic_add_affected_planes()
      drm/crtc-helper: Add a drm_crtc_helper_atomic_check() helper

Jilin Yuan (1):
      drm/edid: fix repeated words in comments

Jocelyn Falempe (2):
      drm/ast: Add Atomic gamma lut support for aspeed
      drm/mgag200: Fix PLL setup for G200_SE_A rev >=4

Kieran Bingham (1):
      drm: lcdif: Add support for YUV planes

Laurent Pinchart (3):
      drm: lcdif: Fix indentation in lcdif_regs.h
      drm: lcdif: Don't use BIT() for multi-bit register fields
      drm: lcdif: Switch to limited range for RGB to YUV conversion

Lucas Stach (1):
      drm/fourcc: add Vivante tile status modifiers

Mateusz Kwiatkowski (1):
      drm/vc4: vec: Fix definition of PAL-M mode

Maxime Ripard (6):
      drm/tests: Order Kunit tests in Makefile
      drm/atomic-helper: Rename drm_atomic_helper_connector_tv_reset to avoid ambiguity
      drm/connector: Rename subconnector state variable
      drm/atomic: Add TV subconnector property to get/set_property
      drm/modes: Only consider bpp and refresh before options
      Merge drm/drm-next into drm-misc-next

Maíra Canal (2):
      drm/tests: Split drm_test_dp_mst_calc_pbn_mode into parameterized tests
      drm/tests: Split drm_test_dp_mst_sideband_msg_req_decode into parameterized tests

Pin-yen Lin (2):
      drm/bridge: it6505: Adapt runtime power management framework
      drm/bridge: it6505: Add pre_enable/post_disable callback

Simon Ser (1):
      drm: document uAPI page-flip flags

Teresa Remmet (1):
      drm/bridge: tc358775: Do not soft reset i2c-slave controller

Thomas Zimmermann (31):
      drm/udl: Rename struct udl_drm_connector to struct udl_connector
      drm/udl: Test pixel limit in mode-config's mode-valid function
      drm/udl: Use USB timeout constant when reading EDID
      drm/udl: Various improvements to the connector
      drm/udl: Move connector to modesetting code
      drm/udl: Remove udl_simple_display_pipe_mode_valid()
      drm/udl: Convert to atomic-modesetting helpers
      drm/udl: Simplify modesetting in CRTC's enable function
      drm/udl: Support DRM hot-unplugging
      drm/udl: Use damage iterator
      drm/udl: Move register constants to udl_proto.h
      drm/udl: Add constants for display-mode registers
      drm/udl: Add register constants for color depth
      drm/udl: Add register constants for video locks
      drm/udl: Add register constants for framebuffer scanout addresses
      drm/udl: Add constants for commands
      drm/atomic-helper: Don't allocate new plane state in CRTC check
      drm/atomic-helper: Replace drm_atomic_helper_check_crtc_state()
      drm/ofdrm: Add ofdrm for Open Firmware framebuffers
      drm/ofdrm: Add CRTC state
      drm/ofdrm: Add per-model device function
      drm/ofdrm: Support color management
      drm/ofdrm: Support big-endian scanout buffers
      drm/ast: Acquire I/O-register lock in atomic_commit_tail function
      drm/ast: Call drm_atomic_helper_check_plane_state() unconditionally
      drm/ast: Do not call drm_atomic_add_affected_planes()
      drm/ast: Remove cursor double buffering
      drm/ast: Rename struct ast_cursor_plane to struct ast_plane
      drm/ast: Style cleanups in plane code
      drm/ast: Convert ast to SHMEM
      drm/ast: Avoid reprogramming primary-plane scanout address

Ville Syrjälä (8):
      drm/edid: Clarify why we only accept the "range limits only" descriptor
      drm/edid: Define more flags
      drm/edid: Only parse VRR range for continuous frequency displays
      drm/edid: Extract drm_gtf2_mode()
      drm/edid: Use GTF2 for inferred modes
      drm/edid: Use the correct formula for standard timings
      drm/edid: Unconfuse preferred timing stuff a bit
      drm/edid: Make version checks less convoluted

Wei Yongjun (3):
      drm/panel: db7430: Silent no spi_device_id warning
      drm/panel: tpg110: Silent no spi_device_id warning
      drm/panel: ws2401: Silent no spi_device_id warning

Zack Rusin (1):
      drm: Remove drm_mode_config::fb_base

Zeng Heng (1):
      drm/ttm: Remove unnecessary drm_mm_clean

ruanjinjie (1):
      drm/nouveau/disp: fix cast removes address space of expression warnings

 Documentation/driver-api/dma-buf.rst               |    6 +
 MAINTAINERS                                        |    1 +
 drivers/dma-buf/dma-buf.c                          |  216 ++-
 drivers/gpu/drm/Makefile                           |  107 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c           |    2 -
 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c             |    2 -
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c             |    2 -
 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c              |    1 -
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c              |    2 -
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |    2 -
 drivers/gpu/drm/armada/armada_gem.c                |    8 +-
 drivers/gpu/drm/ast/Kconfig                        |    4 +-
 drivers/gpu/drm/ast/ast_drv.c                      |    4 +-
 drivers/gpu/drm/ast/ast_drv.h                      |   34 +-
 drivers/gpu/drm/ast/ast_main.c                     |    5 +-
 drivers/gpu/drm/ast/ast_mm.c                       |   14 +-
 drivers/gpu/drm/ast/ast_mode.c                     |  501 +++----
 drivers/gpu/drm/bridge/adv7511/adv7511.h           |    3 +-
 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c       |   18 +-
 drivers/gpu/drm/bridge/adv7511/adv7533.c           |   25 +-
 drivers/gpu/drm/bridge/ite-it6505.c                |   58 +-
 drivers/gpu/drm/bridge/parade-ps8640.c             |    9 +-
 drivers/gpu/drm/bridge/tc358775.c                  |    2 +-
 drivers/gpu/drm/display/Makefile                   |   14 +-
 drivers/gpu/drm/drm_atomic_helper.c                |   60 +-
 drivers/gpu/drm/drm_atomic_state_helper.c          |    6 +-
 drivers/gpu/drm/drm_atomic_uapi.c                  |    4 +
 drivers/gpu/drm/drm_client.c                       |    4 +-
 drivers/gpu/drm/drm_crtc_helper.c                  |   26 +
 drivers/gpu/drm/drm_edid.c                         |  346 +++--
 drivers/gpu/drm/drm_format_helper.c                |   10 +
 drivers/gpu/drm/drm_gem.c                          |   24 +
 drivers/gpu/drm/drm_gem_dma_helper.c               |    6 +-
 drivers/gpu/drm/drm_gem_framebuffer_helper.c       |    6 +-
 drivers/gpu/drm/drm_gem_ttm_helper.c               |    9 +-
 drivers/gpu/drm/drm_modes.c                        |   18 +-
 drivers/gpu/drm/drm_plane_helper.c                 |    4 +-
 drivers/gpu/drm/drm_prime.c                        |    6 +-
 drivers/gpu/drm/drm_simple_kms_helper.c            |    6 +-
 drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c        |    2 +-
 drivers/gpu/drm/gma500/framebuffer.c               |    6 +-
 drivers/gpu/drm/gma500/psb_drv.h                   |    1 +
 drivers/gpu/drm/gud/gud_connector.c                |    2 +-
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c    |   16 +-
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h    |    3 -
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c         |    2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |   14 +
 .../gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c   |   16 +-
 drivers/gpu/drm/lima/lima_sched.c                  |    4 +-
 drivers/gpu/drm/mgag200/mgag200_g200se.c           |    3 +-
 drivers/gpu/drm/mgag200/mgag200_mode.c             |   11 +-
 drivers/gpu/drm/msm/msm_fbdev.c                    |    2 -
 drivers/gpu/drm/mxsfb/lcdif_kms.c                  |  239 +++-
 drivers/gpu/drm/mxsfb/lcdif_regs.h                 |   37 +-
 drivers/gpu/drm/nouveau/dispnv50/disp.c            |    4 +-
 drivers/gpu/drm/nouveau/nouveau_display.c          |    1 -
 drivers/gpu/drm/nouveau/nv04_fbcon.c               |    6 +-
 drivers/gpu/drm/omapdrm/omap_fbdev.c               |    2 -
 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c          |    4 +-
 drivers/gpu/drm/panel/panel-samsung-db7430.c       |    7 +
 drivers/gpu/drm/panel/panel-tpo-tpg110.c           |    7 +
 drivers/gpu/drm/panel/panel-widechips-ws2401.c     |    7 +
 drivers/gpu/drm/panfrost/panfrost_dump.c           |    4 +-
 drivers/gpu/drm/panfrost/panfrost_perfcnt.c        |    6 +-
 drivers/gpu/drm/qxl/qxl_display.c                  |    2 -
 drivers/gpu/drm/qxl/qxl_object.c                   |   17 +-
 drivers/gpu/drm/qxl/qxl_prime.c                    |    4 +-
 drivers/gpu/drm/radeon/radeon_display.c            |    2 -
 drivers/gpu/drm/radeon/radeon_fb.c                 |    2 +-
 drivers/gpu/drm/scheduler/sched_entity.c           |   26 +-
 drivers/gpu/drm/scheduler/sched_main.c             |   96 +-
 drivers/gpu/drm/solomon/ssd130x.c                  |   37 +-
 drivers/gpu/drm/tegra/fb.c                         |    1 -
 drivers/gpu/drm/tegra/gem.c                        |   17 +-
 drivers/gpu/drm/tests/Makefile                     |   14 +-
 drivers/gpu/drm/tests/drm_dp_mst_helper_test.c     |  445 +++---
 drivers/gpu/drm/tiny/Kconfig                       |   13 +
 drivers/gpu/drm/tiny/Makefile                      |    1 +
 drivers/gpu/drm/tiny/bochs.c                       |    1 -
 drivers/gpu/drm/tiny/ofdrm.c                       | 1424 ++++++++++++++++++++
 drivers/gpu/drm/tiny/simpledrm.c                   |   16 +-
 drivers/gpu/drm/ttm/ttm_range_manager.c            |    1 -
 drivers/gpu/drm/udl/Makefile                       |    2 +-
 drivers/gpu/drm/udl/udl_connector.c                |  139 --
 drivers/gpu/drm/udl/udl_connector.h                |   15 -
 drivers/gpu/drm/udl/udl_drv.h                      |   42 +-
 drivers/gpu/drm/udl/udl_modeset.c                  |  572 +++++---
 drivers/gpu/drm/udl/udl_proto.h                    |   68 +
 drivers/gpu/drm/udl/udl_transfer.c                 |    7 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |    2 +-
 drivers/gpu/drm/vc4/vc4_vec.c                      |    8 +-
 drivers/infiniband/core/umem_dmabuf.c              |    7 +-
 .../media/common/videobuf2/videobuf2-dma-contig.c  |   22 +-
 drivers/media/common/videobuf2/videobuf2-dma-sg.c  |   19 +-
 drivers/media/common/videobuf2/videobuf2-vmalloc.c |   17 +-
 .../media/platform/nvidia/tegra-vde/dmabuf-cache.c |    6 +-
 drivers/misc/fastrpc.c                             |    6 +-
 drivers/video/fbdev/Kconfig                        |    1 +
 drivers/xen/gntdev-dmabuf.c                        |    8 +-
 include/drm/drm_atomic_helper.h                    |    3 +-
 include/drm/drm_atomic_state_helper.h              |    2 +-
 include/drm/drm_connector.h                        |    4 +-
 include/drm/drm_crtc_helper.h                      |    2 +
 include/drm/drm_edid.h                             |   14 +-
 include/drm/drm_gem.h                              |    3 +
 include/drm/drm_mode_config.h                      |    2 -
 include/drm/gpu_scheduler.h                        |   32 +
 include/linux/dma-buf.h                            |   17 +-
 include/uapi/drm/drm_fourcc.h                      |   29 +
 include/uapi/drm/drm_mode.h                        |   63 +-
 110 files changed, 3854 insertions(+), 1358 deletions(-)
 create mode 100644 drivers/gpu/drm/tiny/ofdrm.c
 delete mode 100644 drivers/gpu/drm/udl/udl_connector.c
 delete mode 100644 drivers/gpu/drm/udl/udl_connector.h
 create mode 100644 drivers/gpu/drm/udl/udl_proto.h