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

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Thu Jun 20 15:42:47 UTC 2019


Hi Daniel, Dave,

Final pull request for drm-misc-next!

Biggest changes are the remove-fbcon-notifiers branch and modeline cmdline parser rework,
and the addition of a new KMS driver for ingenic. 

drm-misc-next-2019-06-20:
drm-misc-next for v5.3:

UAPI Changes:
- Give each dma-buf their own inode, add DMA_BUF_SET_NAME ioctl and a show_fdinfo handler.

Cross-subsystem Changes:
- Pull in the topic/remove-fbcon-notifiers branch:
  * remove fbdev notifier usage for fbcon, as prep work to clean up the fbcon locking
  * assorted locking checks in vt/console code
  * assorted notifier and cleanups in fbdev and backlight code

Core Changes:
- Make drm_debugfs_create_files() never fail.
- add debug print to update_vblank_count.
- Add DP_DPCD_QUIRK_NO_SINK_COUNT quirk.
- Add todo item for drm_gem_objects.
- Unexport drm_gem_(un)pin/v(un)map.
- Document struct drm_cmdline_mode.
- Rewrite the command handler for mode names, and add support to specify
  rotation, reflection and overscan. With a new selftest! :)
- Fixes to drm/client for improving rotation support, and fixing variable scope.
- Small fixes to self refresh helper.

Driver Changes:
- Add rockchip RK3328 support.
- Assorted driver fixes to rockchip, vc4, rcar-du, vkms.
- Expose panfrost performance counters through unstable ioctl's, hidden
  behind a module parameter.
- Enumerate CRC sources list in vkms.
- Add a basic kms driver for the Ingenic JZ47xx SoC, which will be expanded
  soon with more advanced features.
- Suspend/resume fix for stm.

The following changes since commit 52d2d44eee8091e740d0d275df1311fb8373c9a9:

  Merge v5.2-rc5 into drm-next (2019-06-19 12:07:29 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-06-20

for you to fetch changes up to 836334fd747595331dcdc7709b447ad8134db693:

  drm/todo: Update drm_gem_object_funcs todo even more (2019-06-20 17:11:53 +0200)

----------------------------------------------------------------
Boris Brezillon (4):
      drm/panfrost: Move gpu_{write, read}() macros to panfrost_regs.h
      drm/panfrost: Add a module parameter to expose unstable ioctls
      drm/panfrost: Add an helper to check the GPU generation
      drm/panfrost: Expose performance counters through unstable ioctls

Dan Carpenter (1):
      drm: self_refresh: Fix a reversed condition in drm_self_refresh_helper_cleanup()

Daniel Vetter (38):
      dummycon: Sprinkle locking checks
      fbdev: locking check for fb_set_suspend
      vt: might_sleep() annotation for do_blank_screen
      vt: More locking checks
      fbdev/sa1100fb: Remove dead code
      fbdev/cyber2000: Remove struct display
      fbdev/aty128fb: Remove dead code
      fbcon: s/struct display/struct fbcon_display/
      fbcon: Remove fbcon_has_exited
      fbcon: call fbcon_fb_(un)registered directly
      fbdev/sh_mobile: remove sh_mobile_lcdc_display_notify
      fbdev/omap: sysfs files can't disappear before the device is gone
      fbdev: sysfs files can't disappear before the device is gone
      staging/olpc: lock_fb_info can't fail
      fbdev/atyfb: lock_fb_info can't fail
      fbdev: lock_fb_info cannot fail
      fbcon: call fbcon_fb_bind directly
      fbdev: make unregister/unlink functions not fail
      fbdev: unify unlink_framebuffer paths
      fbdev/sh_mob: Remove fb notifier callback
      fbdev: directly call fbcon_suspended/resumed
      fbcon: Call fbcon_mode_deleted/new_modelist directly
      fbdev: Call fbcon_get_requirement directly
      Revert "backlight/fbcon: Add FB_EVENT_CONBLANK"
      fbmem: pull fbcon_fb_blanked out of fb_blank
      fbdev: remove FBINFO_MISC_USEREVENT around fb_blank
      fb: Flatten control flow in fb_set_var
      fbcon: replace FB_EVENT_MODE_CHANGE/_ALL with direct calls
      vgaswitcheroo: call fbcon_remap_all directly
      fbcon: Call con2fb_map functions directly
      fbcon: Document what I learned about fbcon locking
      staging/olpc_dcon: Add drm conversion to TODO
      backlight: simplify lcd notifier
      drm/todo: Improve drm_gem_object funcs todo
      drm/gem: Unexport drm_gem_(un)pin/v(un)map
      drm/vkms: Move format arrays to vkms_plane.c
      fbcon: Export fbcon_update_vcs
      drm/todo: Update drm_gem_object_funcs todo even more

Douglas Anderson (2):
      drm/rockchip: Properly adjust to a true clock in adjusted_mode
      drm/rockchip: Base adjustments of the mode based on prev adjustments

Greg Hackmann (3):
      dma-buf: give each buffer a full-fledged inode
      dma-buf: add DMA_BUF_SET_NAME ioctls
      dma-buf: add show_fdinfo handler

Greg Kroah-Hartman (2):
      drm: debugfs: make drm_debugfs_create_files() never fail
      drm/vc4: no need to check return value of debugfs_create functions

Justin Swartz (1):
      drm/rockchip: dw_hdmi: add basic rk3228 support

Maarten Lankhorst (3):
      Merge remote-tracking branch 'drm/drm-next' into drm-misc-next
      Merge remote-tracking branch 'drm/drm-next' into drm-misc-next
      Merge branch 'topic/remove-fbcon-notifiers' into drm-misc-next

Maxime Ripard (12):
      drm/connector: Add documentation for drm_cmdline_mode
      drm/client: Restrict the plane_state scope
      drm/client: Restrict the rotation check to the rotation itself
      drm/client: Change drm_client_panel_rotation name
      drm/modes: Rewrite the command line parser
      drm/modes: Support modes names on the command line
      drm/modes: Allow to specify rotation and reflection on the commandline
      drm/connector: Introduce a TV margins structure
      drm/modes: Parse overscan properties
      drm/atomic: Add a function to reset connector TV properties
      drm/selftests: Add command line parser selftests
      drm/vc4: hdmi: Set default state margin at reset

Oleg Vasilev (2):
      drm: add debug print to update_vblank_count
      drm/vkms: add crc sources list

Paul Cercueil (2):
      dt-bindings: Add doc for the Ingenic JZ47xx LCD controller driver
      DRM: Add KMS driver for the Ingenic JZ47xx SoCs

Rob Herring (1):
      drm/panfrost: Align GEM objects GPU VA to 2MB

Sandor Yu (1):
      drm/rockchip: cdn-dp: correct rate in the struct drm_dp_link assignment

Sean Paul (2):
      drm/rcar-du: Fix error check when retrieving crtc state
      drm/self_refresh: Fix possible NULL deref in failure path

Serge Semin (1):
      drm: Permit video-buffers writecombine mapping for MIPS

Ville Syrjälä (1):
      drm/dp: Add DP_DPCD_QUIRK_NO_SINK_COUNT

Yannick Fertré (1):
      drm/stm: drv: fix suspend/resume

 .../devicetree/bindings/display/ingenic,lcd.txt    |  44 +
 .../bindings/display/rockchip/dw_hdmi-rockchip.txt |   1 +
 Documentation/fb/modedb.txt                        |  14 +
 Documentation/gpu/todo.rst                         |   6 +
 arch/arm/mach-pxa/am200epd.c                       |  13 +-
 drivers/dma-buf/dma-buf.c                          | 137 ++-
 drivers/gpu/drm/Kconfig                            |   2 +
 drivers/gpu/drm/Makefile                           |   1 +
 drivers/gpu/drm/drm_atomic_state_helper.c          |  18 +
 drivers/gpu/drm/drm_client_modeset.c               |  54 +-
 drivers/gpu/drm/drm_connector.c                    |   3 +-
 drivers/gpu/drm/drm_debugfs.c                      |  26 +-
 drivers/gpu/drm/drm_dp_helper.c                    |   4 +-
 drivers/gpu/drm/drm_fb_helper.c                    |   2 +-
 drivers/gpu/drm/drm_gem.c                          |  32 -
 drivers/gpu/drm/drm_internal.h                     |   5 +
 drivers/gpu/drm/drm_modes.c                        | 473 ++++++++---
 drivers/gpu/drm/drm_self_refresh_helper.c          |   8 +-
 drivers/gpu/drm/drm_vblank.c                       |  10 +-
 drivers/gpu/drm/drm_vm.c                           |   5 +-
 drivers/gpu/drm/ingenic/Kconfig                    |  16 +
 drivers/gpu/drm/ingenic/Makefile                   |   1 +
 drivers/gpu/drm/ingenic/ingenic-drm.c              | 818 ++++++++++++++++++
 drivers/gpu/drm/panfrost/Makefile                  |   3 +-
 drivers/gpu/drm/panfrost/panfrost_device.c         |   8 +
 drivers/gpu/drm/panfrost/panfrost_device.h         |  10 +
 drivers/gpu/drm/panfrost/panfrost_drv.c            |  15 +
 drivers/gpu/drm/panfrost/panfrost_gem.c            |   8 +-
 drivers/gpu/drm/panfrost/panfrost_gpu.c            |  10 +-
 drivers/gpu/drm/panfrost/panfrost_perfcnt.c        | 329 ++++++++
 drivers/gpu/drm/panfrost/panfrost_perfcnt.h        |  18 +
 drivers/gpu/drm/panfrost/panfrost_regs.h           |  22 +
 drivers/gpu/drm/rcar-du/rcar_lvds.c                |   4 +-
 drivers/gpu/drm/rockchip/cdn-dp-reg.c              |   4 +-
 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c        |  53 ++
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c        |   3 +-
 drivers/gpu/drm/selftests/Makefile                 |   2 +-
 drivers/gpu/drm/selftests/drm_cmdline_selftests.h  |  55 ++
 .../gpu/drm/selftests/test-drm_cmdline_parser.c    | 918 +++++++++++++++++++++
 drivers/gpu/drm/stm/drv.c                          |  15 +-
 drivers/gpu/drm/ttm/ttm_bo_util.c                  |   4 +-
 drivers/gpu/drm/vc4/vc4_debugfs.c                  |   8 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |   8 +-
 drivers/gpu/drm/vkms/vkms_crc.c                    |   9 +
 drivers/gpu/drm/vkms/vkms_crtc.c                   |   1 +
 drivers/gpu/drm/vkms/vkms_drv.h                    |  10 +-
 drivers/gpu/drm/vkms/vkms_plane.c                  |   8 +
 drivers/gpu/vga/vga_switcheroo.c                   |  11 +-
 drivers/media/pci/ivtv/ivtvfb.c                    |   6 +-
 drivers/staging/fbtft/fbtft-core.c                 |   4 +-
 drivers/staging/olpc_dcon/TODO                     |   7 +
 drivers/staging/olpc_dcon/olpc_dcon.c              |   6 +-
 drivers/tty/vt/vt.c                                |  18 +
 drivers/video/backlight/backlight.c                |   2 +-
 drivers/video/backlight/lcd.c                      |  12 -
 drivers/video/console/dummycon.c                   |   6 +
 drivers/video/fbdev/aty/aty128fb.c                 |  64 --
 drivers/video/fbdev/aty/atyfb_base.c               |   3 +-
 drivers/video/fbdev/core/fbcmap.c                  |   6 +-
 drivers/video/fbdev/core/fbcon.c                   | 314 +++----
 drivers/video/fbdev/core/fbcon.h                   |   6 +-
 drivers/video/fbdev/core/fbmem.c                   | 399 ++++-----
 drivers/video/fbdev/core/fbsysfs.c                 |  20 +-
 drivers/video/fbdev/cyber2000fb.c                  |   1 -
 drivers/video/fbdev/neofb.c                        |   9 +-
 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c    |  21 +-
 drivers/video/fbdev/sa1100fb.c                     |  25 -
 drivers/video/fbdev/savage/savagefb_driver.c       |   9 +-
 drivers/video/fbdev/sh_mobile_lcdcfb.c             | 132 +--
 drivers/video/fbdev/sh_mobile_lcdcfb.h             |   5 -
 include/drm/drm_atomic_state_helper.h              |   1 +
 include/drm/drm_client.h                           |   2 +-
 include/drm/drm_connector.h                        | 149 +++-
 include/drm/drm_dp_helper.h                        |   7 +
 include/drm/drm_gem.h                              |   5 -
 include/linux/console_struct.h                     |   5 +-
 include/linux/dma-buf.h                            |   5 +-
 include/linux/fb.h                                 |  45 +-
 include/linux/fbcon.h                              |  30 +
 include/uapi/drm/panfrost_drm.h                    |  24 +
 include/uapi/linux/dma-buf.h                       |   3 +
 include/uapi/linux/magic.h                         |   1 +
 82 files changed, 3551 insertions(+), 1030 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/ingenic,lcd.txt
 create mode 100644 drivers/gpu/drm/ingenic/Kconfig
 create mode 100644 drivers/gpu/drm/ingenic/Makefile
 create mode 100644 drivers/gpu/drm/ingenic/ingenic-drm.c
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_perfcnt.c
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_perfcnt.h
 create mode 100644 drivers/gpu/drm/selftests/drm_cmdline_selftests.h
 create mode 100644 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c


More information about the Intel-gfx mailing list