[PULL] drm-misc-next

Sean Paul sean at poorly.run
Thu Oct 24 15:55:35 UTC 2019


Hi Dave & Daniel,
Here's the pull for last week and this week. As you know we had some trouble
with the OMAP_BO* additions last week, those have since been reverted.

Speaking of UAPI, we have a new DRM_SYNCOBJ_QUERY_FLAGS_LAST_SUBMITTED flag from
AMD to get the last signaled timeline value from the kernel. It's used by the
AMD implementation of timeline semaphores [1]. The kernel patch was reviewed by
Lionel, but the userspace portion was not reviewed in the open (and not even
posted before the kernel patch was reviewed). Overall the process was lacking on
this submission (as well as the commit message and the kerneldoc), but the
addition itself seems fine.

Other than that, relatively quiet week overall.

[1]- https://github.com/GPUOpen-Drivers/pal/commit/66e78b997748d03d77e1d706c10f1f17e18e5654

drm-misc-next-2019-10-24-2:
drm-misc-next for 5.5:

UAPI Changes:
-syncobj: allow querying the last submitted timeline value (David)
-fourcc: explicitly defineDRM_FORMAT_BIG_ENDIAN as unsigned (Adam)
-omap: revert the OMAP_BO_* flags that were added -- no userspace (Sean)

Cross-subsystem Changes:
-MAINTAINERS: add Mihail as komeda co-maintainer (Mihail)

Core Changes:
-edid: a few cleanups, add AVI infoframe bar info (Ville)
-todo: remove i915 device_link item and add difficulty levels (Daniel)
-dp_helpers: add a few new helpers to parse dpcd (Thierry)

Driver Changes:
-gma500: fix a few memory disclosure leaks (Kangjie)
-qxl: convert to use the new drm_gem_object_funcs.mmap (Gerd)
-various: open code dp_link helpers in preparation for helper removal (Thierry)

Cc: Chunming Zhou <david1.zhou at amd.com>
Cc: Adam Jackson <ajax at redhat.com>
Cc: Sean Paul <seanpaul at chromium.org>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Kangjie Lu <kjlu at umn.edu>
Cc: Mihail Atanassov <mihail.atanassov at arm.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Thierry Reding <treding at nvidia.com>

Cheers, Sean


The following changes since commit 2e79e22e092acd55da0b2db066e4826d7d152c41:

  Merge v5.4-rc4 into drm-next (2019-10-23 12:10:05 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-10-24-2

for you to fetch changes up to 9a42c7c647a9ad0f7ebb147a52eda3dcb7c84292:

  drm/tegra: Move drm_dp_link helpers to Tegra DRM (2019-10-23 18:22:10 +0200)

----------------------------------------------------------------
drm-misc-next for 5.5:

UAPI Changes:
-syncobj: allow querying the last submitted timeline value (David)
-fourcc: explicitly defineDRM_FORMAT_BIG_ENDIAN as unsigned (Adam)
-omap: revert the OMAP_BO_* flags that were added -- no userspace (Sean)

Cross-subsystem Changes:
-MAINTAINERS: add Mihail as komeda co-maintainer (Mihail)

Core Changes:
-edid: a few cleanups, add AVI infoframe bar info (Ville)
-todo: remove i915 device_link item and add difficulty levels (Daniel)
-dp_helpers: add a few new helpers to parse dpcd (Thierry)

Driver Changes:
-gma500: fix a few memory disclosure leaks (Kangjie)
-qxl: convert to use the new drm_gem_object_funcs.mmap (Gerd)
-various: open code dp_link helpers in preparation for helper removal (Thierry)

Cc: Chunming Zhou <david1.zhou at amd.com>
Cc: Adam Jackson <ajax at redhat.com>
Cc: Sean Paul <seanpaul at chromium.org>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Kangjie Lu <kjlu at umn.edu>
Cc: Mihail Atanassov <mihail.atanassov at arm.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Thierry Reding <treding at nvidia.com>

----------------------------------------------------------------
Adam Jackson (1):
      drm/fourcc: Fix undefined left shift in DRM_FORMAT_BIG_ENDIAN macros

Andy Shevchenko (1):
      drm/mipi_dbi: Use simple right shift instead of double negation

Ben Dooks (3):
      drm/scheduler: make unexported items static
      drm/rockchip: include rockchip_drm_drv.h
      drm/rockchip: make rockchip_gem_alloc_object static

Ben Dooks (Codethink) (1):
      drm/arm: make undeclared items static

Brian Masney (1):
      drm/bridge: analogix-anx78xx: add support for 7808 addresses

Chunming Zhou (1):
      drm/syncobj: extend syncobj query ability v3

Colin Ian King (1):
      drm/komeda: remove redundant assignment to pointer disable_done

Daniel Kurtz (1):
      drm/bridge: dw-hdmi: Restore audio when setting a mode

Daniel Vetter (4):
      drm/dp-mst: Drop connection_mutex check
      drm/doc: Drop misleading comment on drm_mode_config_cleanup
      drm/todo: Remove i915 device_link task
      drm/todo: Add levels

Dariusz Marcinkiewicz (1):
      drm: tda998x: use cec_notifier_conn_(un)register

Douglas Anderson (1):
      drm/rockchip: Round up _before_ giving to the clock framework

Ezequiel Garcia (2):
      dt-bindings: display: rockchip: document VOP gamma LUT address
      drm/rockchip: Add optional support for CRTC gamma LUT

Gerd Hoffmann (18):
      drm: add mmap() to drm_gem_object_funcs
      drm/shmem: switch shmem helper to &drm_gem_object_funcs.mmap
      drm/shmem: drop VM_DONTDUMP
      drm/shmem: drop VM_IO
      drm/shmem: drop DEFINE_DRM_GEM_SHMEM_FOPS
      drm/ttm: factor out ttm_bo_mmap_vma_setup
      drm/ttm: rename ttm_fbdev_mmap
      drm/ttm: add drm_gem_ttm_mmap()
      drm/vram: switch vram helper to &drm_gem_object_funcs.mmap()
      drm/vram: drop verify_access
      drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
      drm/qxl: drop qxl_ttm_fault
      drm/qxl: switch qxl to &drm_gem_object_funcs.mmap
      drm/qxl: drop verify_access
      drm/qxl: use DEFINE_DRM_GEM_FOPS()
      drm/qxl: allocate small objects top-down
      drm/virtio: print a single line with device features
      drm/virtio: move byteorder handling into virtio_gpu_cmd_transfer_to_host_2d function

Guido Günther (1):
      drm/mxsfb: Read bus flags from bridge if present

Jean-Jacques Hiblot (1):
      drm/omap: use refcount API to track the number of users of dma_addr

Jonas Karlman (4):
      drm/bridge: dw-hdmi: Add Dynamic Range and Mastering InfoFrame support
      drm/rockchip: Enable DRM InfoFrame support on RK3328 and RK3399
      drm/meson: Enable DRM InfoFrame support on GXL, GXM and G12A
      drm/sun4i: Enable DRM InfoFrame support on H6

Kangjie Lu (2):
      gma/gma500: fix a memory disclosure bug due to uninitialized bytes
      drm/gma500: fix memory disclosures due to uninitialized bytes

Lee Shawn C (1):
      drm/edid: Select DMT timing if EDID's display feature not support GTF

Lowry Li (Arm Technology China) (4):
      drm/komeda: Add line size support
      drm/komeda: Adds layer horizontal input size limitation check for D71
      drm/komeda: Set output color depth for output
      drm/komeda: Adds output-color format support

Lucas De Marchi (1):
      drm/dp-mst: fix warning on unused var

Maarten Lankhorst (1):
      drm/plane: Clarify our expectations for src/dst rectangles

Markus Elfring (1):
      drm/rockchip: rk3066_hdmi: Use devm_platform_ioremap_resource() in rk3066_hdmi_bind()

Mihail Atanassov (2):
      drm/komeda: Dump SC_ENH_* registers from scaler block
      MAINTAINERS: Add Mihail to Komeda DRM driver

Nickey Yang (1):
      drm/rockchip: vop: add the definition of dclk_pol

Oleg Vasilev (1):
      drm/vkms: prime import support

Qiang Yu (3):
      drm/lima: use drm_gem_shmem_helpers
      drm/lima: use drm_gem_(un)lock_reservations
      drm/lima: add __GFP_NOWARN flag to all dma_alloc_wc

Robert Chiras (1):
      drm/mxsfb: Update mxsfb to support a bridge

Rodrigo Siqueira (3):
      drm: Add link training repeaters addresses
      drm/drm_vblank: Change EINVAL by the correct errno
      drm: Add LT-tunable PHY repeater mode operations

Ronald Tschalär (1):
      drm/bridge: sil_sii8620: make remote control optional.

Sam Ravnborg (2):
      drm_dp_cec: drop use of drmP.h
      drm: delete drmP.h + drm_os_linux.h

Sean Paul (3):
      Documentation: Fix warning in drm-kms-helpers.rst
      Revert "drm/omap: add OMAP_BO flags to affect buffer allocation"
      Merge drm/drm-next into drm-misc-next

Sebastian Andrzej Siewior (1):
      drm/i810: Refer to `PREEMPTION' in comment

Simon Ser (1):
      drm: two planes with the same zpos have undefined ordering

Steven Price (3):
      drm/panfrost: Remove NULL check for regulator
      drm/panfrost: Handle resetting on timeout better
      drm/panfrost: Remove commented out call to panfrost_core_dump

Thierry Reding (13):
      drm/dp: Sort includes alphabetically
      drm/dp: Remove a gratuituous blank line
      drm/dp: Add drm_dp_fast_training_cap() helper
      drm/dp: Add drm_dp_channel_coding_supported() helper
      drm/dp: Add drm_dp_alternate_scrambler_reset_cap() helper
      drm/dp: Do not busy-loop during link training
      drm/dp: Add helper to get post-cursor adjustments
      drm/bridge: analogix-anx78xx: Avoid drm_dp_link helpers
      drm/bridge: tc358767: Avoid drm_dp_link helpers
      drm/bridge: tc358767: Use DP nomenclature
      drm/msm: edp: Avoid drm_dp_link helpers
      drm/rockchip: Avoid drm_dp_link helpers
      drm/tegra: Move drm_dp_link helpers to Tegra DRM

Thomas Zimmermann (5):
      drm/vboxvideo: Switch to generic fbdev emulation
      drm/vboxvideo: Switch to drm_atomic_helper_dirty_fb()
      drm/vboxvideo: Replace struct vram_framebuffer with generic implemenation
      drm: Add TODO item for fbdev driver conversion
      drm/cirrus: Remove obsolete header file

Tomi Valkeinen (7):
      drm/omap: add omap_gem_unpin_locked()
      drm/omap: accept NULL for dma_addr in omap_gem_pin
      drm/omap: cleanup OMAP_BO flags
      drm/omap: remove OMAP_BO_TILED define
      drm/omap: cleanup OMAP_BO_SCANOUT use
      drm/omap: add omap_gem_validate_flags()
      drm/omap: add OMAP_BO flags to affect buffer allocation

Ville Syrjälä (6):
      drm/atmel-hlcdc: Use swap() where appropriate
      drm/edid: Make drm_get_cea_aspect_ratio() static
      drm/edid: Extract drm_mode_cea_vic()
      drm/edid: Fix HDMI VIC handling
      drm/edid: Add drm_hdmi_avi_infoframe_bars()
      drm/vc4: Use drm_hdmi_avi_infoframe_bars()

Wambui Karuga (1):
      drm: remove unnecessary return variable

Wen He (2):
      drm/arm/mali-dp: Add display QoS interface configuration for Mali DP500
      dt/bindings: display: Add optional property node define for Mali DP500

Wolfram Sang (1):
      gpu: drm: bridge: sii9234: convert to devm_i2c_new_dummy_device

YueHaibing (2):
      drm/vkms: Remove duplicated include from vkms_drv.c
      drm/qxl: Fix randbuild error

zhengbin (4):
      drm/omap: Remove set but not used variable 'plane'
      drm/omap: Remove set but not used variable 'tclk_trail'
      drm/omap: Remove set but not used variable 'err' in hdmi5_audio_config
      drm/omap: Remove set but not used variable 'err' in hdmi4_audio_config

zhong jiang (1):
      drm/vkms: Fix an undefined reference error in vkms_composer_worker

 .../devicetree/bindings/display/arm,malidp.txt     |   3 +
 .../bindings/display/rockchip/rockchip-vop.txt     |   6 +-
 Documentation/gpu/drm-kms-helpers.rst              |   3 -
 Documentation/gpu/todo.rst                         | 119 ++++++++--
 MAINTAINERS                                        |   1 +
 drivers/gpu/drm/Kconfig                            |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c         |   5 +-
 .../gpu/drm/arm/display/komeda/d71/d71_component.c | 135 ++++++++++-
 drivers/gpu/drm/arm/display/komeda/d71/d71_regs.h  |   9 +-
 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c   |  29 ++-
 drivers/gpu/drm/arm/display/komeda/komeda_kms.h    |   2 +
 .../gpu/drm/arm/display/komeda/komeda_pipeline.h   |   3 +
 .../drm/arm/display/komeda/komeda_pipeline_state.c |  46 ++++
 .../drm/arm/display/komeda/komeda_wb_connector.c   |   5 +
 drivers/gpu/drm/arm/malidp_drv.c                   |  16 +-
 drivers/gpu/drm/arm/malidp_hw.c                    |   9 +
 drivers/gpu/drm/arm/malidp_hw.h                    |   3 +
 drivers/gpu/drm/arm/malidp_regs.h                  |  10 +
 drivers/gpu/drm/ast/ast_drv.c                      |   5 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c    |   5 +-
 drivers/gpu/drm/bochs/bochs_drv.c                  |   5 +-
 drivers/gpu/drm/bridge/Kconfig                     |   3 +-
 drivers/gpu/drm/bridge/analogix-anx78xx.c          |  92 +++++---
 drivers/gpu/drm/bridge/analogix-anx78xx.h          |  17 +-
 drivers/gpu/drm/bridge/sii9234.c                   |  36 +--
 drivers/gpu/drm/bridge/sil-sii8620.c               |  10 +-
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c          |  83 ++++++-
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.h          |  37 +++
 drivers/gpu/drm/bridge/tc358767.c                  |  65 ++++--
 drivers/gpu/drm/cirrus/cirrus.c                    |   2 +-
 drivers/gpu/drm/cirrus/cirrus_drv.h                | 247 ---------------------
 drivers/gpu/drm/drm_blend.c                        |   8 +-
 drivers/gpu/drm/drm_dp_cec.c                       |   6 +-
 drivers/gpu/drm/drm_dp_helper.c                    | 169 +++-----------
 drivers/gpu/drm/drm_dp_mst_topology.c              |   8 +-
 drivers/gpu/drm/drm_edid.c                         | 114 ++++++----
 drivers/gpu/drm/drm_gem.c                          |  27 ++-
 drivers/gpu/drm/drm_gem_shmem_helper.c             |  28 +--
 drivers/gpu/drm/drm_gem_ttm_helper.c               |  17 ++
 drivers/gpu/drm/drm_gem_vram_helper.c              |  56 +----
 drivers/gpu/drm/drm_mipi_dbi.c                     |   2 +-
 drivers/gpu/drm/drm_mode_config.c                  |   2 -
 drivers/gpu/drm/drm_prime.c                        |   9 +
 drivers/gpu/drm/drm_syncobj.c                      |  37 +--
 drivers/gpu/drm/drm_vblank.c                       |   6 +-
 drivers/gpu/drm/gma500/cdv_intel_display.c         |   2 +
 drivers/gpu/drm/gma500/oaktrail_crtc.c             |   2 +
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c    |   5 +-
 drivers/gpu/drm/i2c/tda998x_drv.c                  |   9 +-
 drivers/gpu/drm/lima/Kconfig                       |   1 +
 drivers/gpu/drm/lima/Makefile                      |   4 +-
 drivers/gpu/drm/lima/lima_device.c                 |   2 +-
 drivers/gpu/drm/lima/lima_drv.c                    |  22 +-
 drivers/gpu/drm/lima/lima_gem.c                    | 195 ++++++----------
 drivers/gpu/drm/lima/lima_gem.h                    |  32 ++-
 drivers/gpu/drm/lima/lima_gem_prime.c              |  46 ----
 drivers/gpu/drm/lima/lima_gem_prime.h              |  13 --
 drivers/gpu/drm/lima/lima_mmu.c                    |   1 -
 drivers/gpu/drm/lima/lima_object.c                 | 119 ----------
 drivers/gpu/drm/lima/lima_object.h                 |  35 ---
 drivers/gpu/drm/lima/lima_sched.c                  |   6 +-
 drivers/gpu/drm/lima/lima_vm.c                     |  87 ++++----
 drivers/gpu/drm/meson/meson_dw_hdmi.c              |   5 +
 drivers/gpu/drm/mgag200/mgag200_drv.c              |   5 +-
 drivers/gpu/drm/msm/edp/edp_ctrl.c                 |  70 ++++--
 drivers/gpu/drm/mxsfb/mxsfb_crtc.c                 |  20 +-
 drivers/gpu/drm/mxsfb/mxsfb_drv.c                  |  46 +++-
 drivers/gpu/drm/mxsfb/mxsfb_drv.h                  |   4 +-
 drivers/gpu/drm/mxsfb/mxsfb_out.c                  |  26 ++-
 drivers/gpu/drm/omapdrm/dss/dsi.c                  |   3 +-
 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c           |   4 +-
 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c           |   4 +-
 drivers/gpu/drm/omapdrm/omap_dmm_tiler.h           |   2 +-
 drivers/gpu/drm/omapdrm/omap_fb.c                  |   9 +-
 drivers/gpu/drm/omapdrm/omap_gem.c                 | 137 ++++++++----
 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c          |   2 +-
 drivers/gpu/drm/panfrost/TODO                      |   2 +
 drivers/gpu/drm/panfrost/panfrost_devfreq.c        |   6 +-
 drivers/gpu/drm/panfrost/panfrost_drv.c            |   2 +-
 drivers/gpu/drm/panfrost/panfrost_gem.c            |   2 +-
 drivers/gpu/drm/panfrost/panfrost_job.c            |   2 -
 drivers/gpu/drm/qxl/Kconfig                        |   1 +
 drivers/gpu/drm/qxl/qxl_drv.c                      |  10 +-
 drivers/gpu/drm/qxl/qxl_drv.h                      |   1 -
 drivers/gpu/drm/qxl/qxl_object.c                   |   8 +-
 drivers/gpu/drm/qxl/qxl_ttm.c                      |  50 -----
 drivers/gpu/drm/rockchip/cdn-dp-core.c             |  12 +-
 drivers/gpu/drm/rockchip/cdn-dp-core.h             |   3 +-
 drivers/gpu/drm/rockchip/cdn-dp-reg.c              |  19 +-
 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c        |   2 +
 drivers/gpu/drm/rockchip/rk3066_hdmi.c             |   8 +-
 drivers/gpu/drm/rockchip/rockchip_drm_gem.c        |   2 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c        | 169 +++++++++++++-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.h        |  10 +-
 drivers/gpu/drm/rockchip/rockchip_vop_reg.c        |  48 ++--
 drivers/gpu/drm/scheduler/sched_fence.c            |   4 +-
 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c              |   2 +
 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h              |   1 +
 drivers/gpu/drm/tegra/Makefile                     |   1 +
 drivers/gpu/drm/tegra/dp.c                         | 133 +++++++++++
 drivers/gpu/drm/tegra/dp.h                         |  26 +++
 drivers/gpu/drm/tegra/dpaux.c                      |   1 +
 drivers/gpu/drm/tegra/sor.c                        |   1 +
 drivers/gpu/drm/tiny/gm12u320.c                    |   2 +-
 drivers/gpu/drm/ttm/ttm_bo_vm.c                    |  54 +++--
 drivers/gpu/drm/v3d/v3d_bo.c                       |   2 +-
 drivers/gpu/drm/v3d/v3d_drv.c                      |   2 +-
 drivers/gpu/drm/vboxvideo/Makefile                 |   2 +-
 drivers/gpu/drm/vboxvideo/vbox_drv.c               |  19 +-
 drivers/gpu/drm/vboxvideo/vbox_drv.h               |  25 ---
 drivers/gpu/drm/vboxvideo/vbox_fb.c                | 149 -------------
 drivers/gpu/drm/vboxvideo/vbox_main.c              | 119 +---------
 drivers/gpu/drm/vboxvideo/vbox_mode.c              |  85 +++----
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |   5 +-
 drivers/gpu/drm/virtio/virtgpu_drv.c               |   2 +-
 drivers/gpu/drm/virtio/virtgpu_drv.h               |   4 +-
 drivers/gpu/drm/virtio/virtgpu_kms.c               |   9 +-
 drivers/gpu/drm/virtio/virtgpu_object.c            |   2 +-
 drivers/gpu/drm/virtio/virtgpu_plane.c             |  12 +-
 drivers/gpu/drm/virtio/virtgpu_vq.c                |  12 +-
 drivers/gpu/drm/vkms/vkms_drv.c                    |  13 +-
 drivers/gpu/drm/vkms/vkms_drv.h                    |   6 +
 drivers/gpu/drm/vkms/vkms_gem.c                    |  27 +++
 include/drm/bridge/dw_hdmi.h                       |   1 +
 include/drm/drmP.h                                 | 103 ---------
 include/drm/drm_dp_helper.h                        |  81 +++++--
 include/drm/drm_edid.h                             |   5 +-
 include/drm/drm_gem.h                              |  14 ++
 include/drm/drm_gem_shmem_helper.h                 |  30 +--
 include/drm/drm_gem_ttm_helper.h                   |   2 +
 include/drm/drm_gem_vram_helper.h                  |  25 ---
 include/drm/drm_os_linux.h                         |  55 -----
 include/drm/drm_plane.h                            |  31 ++-
 include/drm/ttm/ttm_bo_api.h                       |  10 +-
 include/uapi/drm/drm.h                             |   3 +-
 include/uapi/drm/drm_fourcc.h                      |   2 +-
 include/uapi/drm/omap_drm.h                        |  18 +-
 137 files changed, 1859 insertions(+), 2019 deletions(-)
 delete mode 100644 drivers/gpu/drm/cirrus/cirrus_drv.h
 delete mode 100644 drivers/gpu/drm/lima/lima_gem_prime.c
 delete mode 100644 drivers/gpu/drm/lima/lima_gem_prime.h
 delete mode 100644 drivers/gpu/drm/lima/lima_object.c
 delete mode 100644 drivers/gpu/drm/lima/lima_object.h
 create mode 100644 drivers/gpu/drm/tegra/dp.c
 create mode 100644 drivers/gpu/drm/tegra/dp.h
 delete mode 100644 drivers/gpu/drm/vboxvideo/vbox_fb.c
 delete mode 100644 include/drm/drmP.h
 delete mode 100644 include/drm/drm_os_linux.h

-- 
Sean Paul, Software Engineer, Google / Chromium OS


More information about the dri-devel mailing list