[Intel-gfx] [PULL] drm-misc-next

Maxime Ripard maxime at cerno.tech
Thu Nov 17 08:36:28 UTC 2022


Hi Dave, Daniel,

Here's this week drm-misc-next PR. Given we're at rc5 already, it's
probably going to be the last for 6.2.

Thanks!
Maxime

drm-misc-next-2022-11-17:
drm-misc-next for 6.2:

UAPI Changes:

Cross-subsystem Changes:
- fbdev: Add support for the nomodeset kernel parameter

Core Changes:
- client: Add kunit tests for drm_connector_pick_cmdline_mode()
- dma-buf: Move dma_buf_mmap_internal() to new locking specification
- edid: Dump EDID on drm_edid_get_panel_id() failure, Stop using a
  temporary device to load the EDID through the firmware mechanism
- fb-helper: Remove damage worker
- gem-vram: Fix deadlock in drm_gem_vram_vmap()
- modes: Named mode parsing improvements
- tests: Add Kunit helpers to create a DRM device

Driver Changes:
- hisilicon: convert to drm_mode_init()
- malidp: Use drm-managed resources
- msm: convert to drm_mode_init() and drm_mode_copy()
- mtk: convert to drm_mode_init()
- nouveau: Support backlight control for nva3
- rockchip: convert to drm_mode_copy()
- sti: convert to drm_mode_copy()
- v3d: Switch to drm-managed resources
- vc4: Fix potential NULL pointer dereference

- panels:
  - New panel: NewVision NV3051D
The following changes since commit 6b818c533dd8615a803a72733eace58fd06e5a3c:

  drm: panel: Add Jadard JD9365DA-H3 DSI panel (2022-11-09 10:40:56 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2022-11-17

for you to fetch changes up to 35c3a2d02f0dc153a5f2f304ba33e1436b6a8d8f:

  drm/tests: helpers: Add SPDX header (2022-11-17 09:25:38 +0100)

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

UAPI Changes:

Cross-subsystem Changes:
- fbdev: Add support for the nomodeset kernel parameter

Core Changes:
- client: Add kunit tests for drm_connector_pick_cmdline_mode()
- dma-buf: Move dma_buf_mmap_internal() to new locking specification
- edid: Dump EDID on drm_edid_get_panel_id() failure, Stop using a
  temporary device to load the EDID through the firmware mechanism
- fb-helper: Remove damage worker
- gem-vram: Fix deadlock in drm_gem_vram_vmap()
- modes: Named mode parsing improvements
- tests: Add Kunit helpers to create a DRM device

Driver Changes:
- hisilicon: convert to drm_mode_init()
- malidp: Use drm-managed resources
- msm: convert to drm_mode_init() and drm_mode_copy()
- mtk: convert to drm_mode_init()
- nouveau: Support backlight control for nva3
- rockchip: convert to drm_mode_copy()
- sti: convert to drm_mode_copy()
- v3d: Switch to drm-managed resources
- vc4: Fix potential NULL pointer dereference

- panels:
  - New panel: NewVision NV3051D

----------------------------------------------------------------
Antonio Gomes (1):
      drm/nouveau: Add support to control backlight using bl_power for nva3.

Brian Starkey (1):
      drm/fourcc: Fix vsub/hsub for Q410 and Q401

Chris Morgan (3):
      dt-bindings: vendor-prefixes: add NewVision vendor prefix
      dt-bindings: display: panel: Add NewVision NV3051D bindings
      drm/panel: Add NewVision NV3051D MIPI-DSI LCD panel

Danilo Krummrich (5):
      drm/arm/malidp: use drmm_* to allocate driver structures
      drm/arm/malidp: replace drm->dev_private with drm_to_malidp()
      drm/arm/malidp: crtc: use drmm_crtc_init_with_planes()
      drm/arm/malidp: plane: use drm managed resources
      drm/arm/malidp: remove calls to drm_mode_config_cleanup()

Dmitry Osipenko (7):
      dma-buf: Move dma_buf_mmap_internal() to dynamic locking specification
      drm: Assert held reservation lock for dma-buf mmapping
      udmabuf: Assert held reservation lock for dma-buf mmapping
      dma-buf/heaps: Assert held reservation lock for dma-buf mmapping
      media: videobuf2: Assert held reservation lock for dma-buf mmapping
      fastrpc: Assert held reservation lock for dma-buf mmapping
      drm/gem-vram: Fix deadlock in drm_gem_vram_vmap()

Douglas Anderson (1):
      drm/edid: Dump the EDID when drm_edid_get_panel_id() has an error

Jani Nikula (1):
      drm/edid/firmware: stop using a throwaway platform device

José Expósito (2):
      drm/vc4: hdmi: Pass vc4_hdmi to vc4_hdmi_supports_scrambling()
      drm/vc4: hdmi: Fix pointer dereference before check

Maxime Ripard (11):
      docs/fb: Document current named modes
      drm/tests: Add Kunit Helpers
      drm/client: Add some tests for drm_connector_pick_cmdline_mode()
      drm/modes: Move named modes parsing to a separate function
      drm/modes: Switch to named mode descriptors
      drm/modes: Fill drm_cmdline mode from named modes
      drm/connector: Add pixel clock to cmdline mode
      drm/tests: Include helpers header
      drm/tests: helpers: Add module infos
      drm/tests: client: Remove extra blank lines
      drm/tests: helpers: Add SPDX header

Maíra Canal (2):
      drm/v3d: switch to drmm_mutex_init
      drm/v3d: add missing mutex_destroy

Thomas Zimmermann (8):
      drm/fb-helper: Set damage-clip area in helper
      drm/fb-helper: Move dirty-fb update into helper function
      drm/fb-helper: Remove test for fb_dirty callback from deferred-I/O helper
      drm/fb-helper: Perform damage handling in deferred-I/O helper
      drm/fb-helper: Schedule deferred-I/O worker after writing to framebuffer
      drm/fb-helper: Remove damage worker
      drm: Move nomodeset kernel parameter to drivers/video
      fbdev: Add support for the nomodeset kernel parameter

Ville Syrjälä (6):
      drm/hisilicon: Use drm_mode_init() for on-stack modes
      drm/msm: Use drm_mode_init() for on-stack modes
      drm/msm: Use drm_mode_copy()
      drm/mtk: Use drm_mode_init() for on-stack modes
      drm/rockchip: Use drm_mode_copy()
      drm/sti: Use drm_mode_copy()

 Documentation/admin-guide/kernel-parameters.txt    |  13 +-
 .../bindings/display/panel/newvision,nv3051d.yaml  |  63 +++
 .../devicetree/bindings/vendor-prefixes.yaml       |   2 +
 Documentation/fb/modedb.rst                        |   5 +
 MAINTAINERS                                        |   2 +
 drivers/dma-buf/dma-buf.c                          |   7 +-
 drivers/dma-buf/heaps/cma_heap.c                   |   3 +
 drivers/dma-buf/heaps/system_heap.c                |   3 +
 drivers/dma-buf/udmabuf.c                          |   3 +
 drivers/gpu/drm/Kconfig                            |   7 +-
 drivers/gpu/drm/Makefile                           |   1 -
 drivers/gpu/drm/arm/malidp_crtc.c                  |   7 +-
 drivers/gpu/drm/arm/malidp_drv.c                   |  69 ++-
 drivers/gpu/drm/arm/malidp_drv.h                   |   2 +
 drivers/gpu/drm/arm/malidp_hw.c                    |  10 +-
 drivers/gpu/drm/arm/malidp_mw.c                    |   6 +-
 drivers/gpu/drm/arm/malidp_planes.c                |  32 +-
 drivers/gpu/drm/drm_client_modeset.c               |   4 +
 drivers/gpu/drm/drm_edid.c                         |   2 +
 drivers/gpu/drm/drm_edid_load.c                    |  13 +-
 drivers/gpu/drm/drm_fb_helper.c                    |  52 ++-
 drivers/gpu/drm/drm_fourcc.c                       |   8 +-
 drivers/gpu/drm/drm_gem_vram_helper.c              |  18 +-
 drivers/gpu/drm/drm_modes.c                        |  98 +++-
 drivers/gpu/drm/drm_prime.c                        |   2 +
 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c       |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c         |   2 +
 drivers/gpu/drm/mediatek/mtk_hdmi.c                |   2 +-
 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c   |   7 +-
 drivers/gpu/drm/msm/dp/dp_display.c                |   2 +-
 drivers/gpu/drm/nouveau/nouveau_backlight.c        |   6 +-
 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c          |   2 +
 drivers/gpu/drm/panel/Kconfig                      |   9 +
 drivers/gpu/drm/panel/Makefile                     |   1 +
 drivers/gpu/drm/panel/panel-newvision-nv3051d.c    | 504 +++++++++++++++++++++
 drivers/gpu/drm/rockchip/cdn-dp-core.c             |   2 +-
 drivers/gpu/drm/rockchip/inno_hdmi.c               |   2 +-
 drivers/gpu/drm/rockchip/rk3066_hdmi.c             |   2 +-
 drivers/gpu/drm/sti/sti_dvo.c                      |   2 +-
 drivers/gpu/drm/sti/sti_hda.c                      |   2 +-
 drivers/gpu/drm/sti/sti_hdmi.c                     |   2 +-
 drivers/gpu/drm/tegra/gem.c                        |   2 +
 drivers/gpu/drm/tests/Makefile                     |   1 +
 drivers/gpu/drm/tests/drm_client_modeset_test.c    |  98 ++++
 drivers/gpu/drm/tests/drm_kunit_helpers.c          |  71 +++
 drivers/gpu/drm/tests/drm_kunit_helpers.h          |  11 +
 drivers/gpu/drm/v3d/v3d_gem.c                      |  17 +-
 drivers/gpu/drm/v3d/v3d_perfmon.c                  |   6 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |  14 +-
 .../media/common/videobuf2/videobuf2-dma-contig.c  |   3 +
 drivers/media/common/videobuf2/videobuf2-dma-sg.c  |   3 +
 drivers/media/common/videobuf2/videobuf2-vmalloc.c |   3 +
 drivers/misc/fastrpc.c                             |   3 +
 drivers/staging/sm750fb/Kconfig                    |   1 +
 drivers/staging/sm750fb/sm750.c                    |   3 +
 drivers/video/Kconfig                              |   4 +
 drivers/video/Makefile                             |   1 +
 drivers/video/fbdev/Kconfig                        |  37 ++
 drivers/video/fbdev/arkfb.c                        |   5 +
 drivers/video/fbdev/asiliantfb.c                   |   3 +
 drivers/video/fbdev/aty/aty128fb.c                 |   5 +
 drivers/video/fbdev/aty/atyfb_base.c               |   5 +
 drivers/video/fbdev/aty/radeon_base.c              |   5 +
 drivers/video/fbdev/carminefb.c                    |   3 +
 drivers/video/fbdev/chipsfb.c                      |   3 +
 drivers/video/fbdev/cirrusfb.c                     |   5 +
 drivers/video/fbdev/core/fb_defio.c                |  16 +
 drivers/video/fbdev/core/fbmem.c                   |  15 +
 drivers/video/fbdev/cyber2000fb.c                  |   6 +-
 drivers/video/fbdev/geode/Kconfig                  |   3 +
 drivers/video/fbdev/geode/gx1fb_core.c             |   5 +
 drivers/video/fbdev/geode/gxfb_core.c              |   5 +
 drivers/video/fbdev/geode/lxfb_core.c              |   5 +
 drivers/video/fbdev/gxt4500.c                      |   3 +
 drivers/video/fbdev/hyperv_fb.c                    |   4 +-
 drivers/video/fbdev/i740fb.c                       |   5 +
 drivers/video/fbdev/i810/i810_main.c               |   6 +
 drivers/video/fbdev/imsttfb.c                      |   5 +
 drivers/video/fbdev/intelfb/intelfbdrv.c           |   3 +
 drivers/video/fbdev/kyro/fbdev.c                   |   5 +
 drivers/video/fbdev/matrox/matroxfb_base.c         |   3 +
 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c         |   3 +
 drivers/video/fbdev/neofb.c                        |   5 +
 drivers/video/fbdev/nvidia/nvidia.c                |   5 +
 drivers/video/fbdev/pm2fb.c                        |   5 +
 drivers/video/fbdev/pm3fb.c                        |   5 +
 drivers/video/fbdev/pvr2fb.c                       |   5 +
 drivers/video/fbdev/riva/fbdev.c                   |   5 +
 drivers/video/fbdev/s3fb.c                         |   5 +
 drivers/video/fbdev/savage/savagefb_driver.c       |   3 +
 drivers/video/fbdev/sis/sis_main.c                 |   5 +
 drivers/video/fbdev/skeletonfb.c                   |   5 +
 drivers/video/fbdev/sm712fb.c                      |   3 +
 drivers/video/fbdev/sstfb.c                        |   3 +
 drivers/video/fbdev/sunxvr2500.c                   |   3 +
 drivers/video/fbdev/sunxvr500.c                    |   3 +
 drivers/video/fbdev/tdfxfb.c                       |   5 +
 drivers/video/fbdev/tgafb.c                        |   5 +
 drivers/video/fbdev/tridentfb.c                    |   5 +
 drivers/video/fbdev/vermilion/vermilion.c          |   5 +
 drivers/video/fbdev/via/via-core.c                 |   3 +
 drivers/video/fbdev/vt8623fb.c                     |   5 +
 .../{gpu/drm/drm_nomodeset.c => video/nomodeset.c} |  12 +-
 include/drm/drm_connector.h                        |   7 +
 include/drm/drm_drv.h                              |   8 +-
 include/drm/drm_fb_helper.h                        |   2 -
 include/linux/fb.h                                 |  10 +
 include/video/nomodeset.h                          |   8 +
 108 files changed, 1330 insertions(+), 190 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml
 create mode 100644 drivers/gpu/drm/panel/panel-newvision-nv3051d.c
 create mode 100644 drivers/gpu/drm/tests/drm_client_modeset_test.c
 create mode 100644 drivers/gpu/drm/tests/drm_kunit_helpers.c
 create mode 100644 drivers/gpu/drm/tests/drm_kunit_helpers.h
 rename drivers/{gpu/drm/drm_nomodeset.c => video/nomodeset.c} (63%)
 create mode 100644 include/video/nomodeset.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20221117/feebc1e5/attachment.sig>


More information about the Intel-gfx mailing list