[pull] drm/msm: msm-next for 4.8
Rob Clark
robdclark at gmail.com
Sat Jul 16 19:06:50 UTC 2016
Hi Dave,
This time, a bunch of cleanups and refactoring work so that we can get
dt bindings upstream. In general, we keep compatibility with existing
downstream bindings as much as possible, to make backports to device
kernels easier, but now we have cleaner upstream bindings so that we
can start landing gpu/display support in upstream dts files.
Plus shrinker and madvise support, which has been on my todo list for
a long time. And support for arbitrary # of cmd bufs in submit ioctl
(I've got libdrm+mesa userspace for this on branches) to enable some
of the mesa batch/reorder stuff I'm working on. Userspace decides
whether this is supported based on advertised driver version. For the
interesting userspace bits, see:
https://github.com/freedreno/libdrm/commit/1baf03ac6e77049d9c8be1e3d5164283ce82c9db
Plus support for ASoC hdmi audio codec, and few other random other
cleanups.
BR,
-R
The following changes since commit 2d635fded22b71381b01e194a59544f2e8d71ef0:
Merge tag 'drm-vc4-next-2016-07-15' of
https://github.com/anholt/linux into drm-next (2016-07-16 11:25:11
+1000)
are available in the git repository at:
git://people.freedesktop.org/~robclark/linux msm-next
for you to fetch changes up to 0a677125d0ff726ed3d75ab311cf54674bf512bc:
drm/msm: Delete an unnecessary check before
drm_gem_object_unreference() (2016-07-16 10:29:35 -0400)
----------------------------------------------------------------
Archit Taneja (33):
drm/msm: Use correct type for physical addresses
drm/msm: Print the correct virtual addresses in map/unmap funcs
drm/msm/mdp5: Don't get source of MDP core clock
drm/msm/mdp4: Clean up some MDP4 clocks
dt-bindings: msm/mdp: Fix up clock related bindings
drm/msm/dsi: Modify port parsing
drm/msm/dsi: Use generic PHY bindings
drm/msm/dsi: Use a standard DT binding for data lanes
dt-bindings: msm/dsi: Use standard data lanes binding
dt-bindings: msm/dsi: Modify port and PHY bindings
dt-bindings: msm/dsi: Add assigned clocks bindings
dt-bindings: msm/dsi: Some binding doc cleanups
drm/msm: Drop the id_table in platform_driver
drm/msm: Remove unused fields
drm/msm: Get irq number within kms driver itself
drm/msm/mdp5: Add MDSS top level driver
drm/msm/mdp5: Create a separate MDP5 device
drm/msm/mdp5: Prepare new kms_init funcs
drm/msm/mdp5: Use the new hierarchy and drop old irq management
drm/msm/mdp5: Remove old kms init/destroy funcs
drm/msm/mdp5: Use updated MDP5 register names
drm/msm/mdp5: Update the register offsets of MDP5 sub-blocks
drm/msm: Call pm_runtime_enable/disable for newly created devices
drm/msm/mdp5: Add missing mdp5_enable/disable calls
drm/msm: Create separate funcs for adding display/gpu components
drm/msm: Add display components by parsing MDP ports
drm/msm: Add components for MDP5
drm/msm: Drop the gpu binding
drm/msm/mdp5: Update compatible strings for MDSS/MDP5
drm/msm/dsi: Don't get DSI index from DT
dt-bindings: msm/mdp4: Create a separate binding doc for MDP4
dt-bindings: msm/mdp5: Add MDP5 display bindings
dt-bindings: msm/mdp: Provide details on MDP interface ports
Dan Carpenter (1):
drm/msm: return -EFAULT instead of bytes remaining
Laurent Pinchart (1):
drm/msm: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
Markus Elfring (3):
drm/msm/hdmi: Delete an unnecessary check before the function call "kfree"
drm/msm: Delete unnecessary checks before
drm_gem_object_unreference_unlocked()
drm/msm: Delete an unnecessary check before drm_gem_object_unreference()
Peter Chen (1):
drm/msm: add missing of_node_put after calling of_parse_phandle
Rob Clark (10):
drm/msm: use mutex_lock_interruptible for submit ioctl
drm/msm: add madvise ioctl
drm/msm: add put_iova() helper
drm/msm: shrinker support
drm/msm: change gem->vmap() to get/put
drm/msm: wire up vmap shrinker
drm/msm: deal with arbitrary # of cmd buffers
drm/msm: bump kernel api version
drm/msm/rd: split out snapshot_buf helper
drm/msm/rd: add module param to dump all bo's
Srinivas Kandagatla (1):
drm: msm: Add ASoC generic hdmi audio codec support.
Wei Yongjun (2):
drm/msm/dsi: Fix return value check in msm_dsi_host_set_display_mode()
drm/msm/hdmi: use PTR_ERR_OR_ZERO() to simplify the code
.../devicetree/bindings/display/msm/dsi.txt | 117 +++++---
.../devicetree/bindings/display/msm/mdp.txt | 59 ----
.../devicetree/bindings/display/msm/mdp4.txt | 112 +++++++
.../devicetree/bindings/display/msm/mdp5.txt | 160 ++++++++++
drivers/gpu/drm/msm/Kconfig | 1 +
drivers/gpu/drm/msm/Makefile | 2 +
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 17 +-
drivers/gpu/drm/msm/dsi/dsi.c | 2 +-
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 8 +
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2 +
drivers/gpu/drm/msm/dsi/dsi_host.c | 69 +++--
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 32 +-
drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 2 +
drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c | 4 +-
drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c | 4 +
drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c | 2 +
drivers/gpu/drm/msm/hdmi/hdmi.c | 117 +++++++-
drivers/gpu/drm/msm/hdmi/hdmi.h | 14 +
drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c | 2 +-
drivers/gpu/drm/msm/mdp/mdp4/mdp4_dtv_encoder.c | 31 +-
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c | 24 +-
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h | 2 +
drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h | 203 ++++++-------
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c | 113 ++++---
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cmd_encoder.c | 14 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 6 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c | 26 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c | 10 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_irq.c | 125 +-------
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 327 +++++++++++++--------
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h | 16 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_mdss.c | 235 +++++++++++++++
drivers/gpu/drm/msm/mdp/mdp5/mdp5_smp.c | 22 +-
drivers/gpu/drm/msm/msm_drv.c | 261 +++++++++++++---
drivers/gpu/drm/msm/msm_drv.h | 24 +-
drivers/gpu/drm/msm/msm_fb.c | 4 +-
drivers/gpu/drm/msm/msm_fbdev.c | 3 +-
drivers/gpu/drm/msm/msm_gem.c | 139 +++++++--
drivers/gpu/drm/msm/msm_gem.h | 23 +-
drivers/gpu/drm/msm/msm_gem_prime.c | 4 +-
drivers/gpu/drm/msm/msm_gem_shrinker.c | 168 +++++++++++
drivers/gpu/drm/msm/msm_gem_submit.c | 26 +-
drivers/gpu/drm/msm/msm_iommu.c | 6 +-
drivers/gpu/drm/msm/msm_kms.h | 8 +-
drivers/gpu/drm/msm/msm_perf.c | 7 +-
drivers/gpu/drm/msm/msm_rd.c | 71 +++--
drivers/gpu/drm/msm/msm_ringbuffer.c | 6 +-
include/uapi/drm/msm_drm.h | 25 +-
48 files changed, 1937 insertions(+), 718 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/msm/mdp.txt
create mode 100644 Documentation/devicetree/bindings/display/msm/mdp4.txt
create mode 100644 Documentation/devicetree/bindings/display/msm/mdp5.txt
create mode 100644 drivers/gpu/drm/msm/mdp/mdp5/mdp5_mdss.c
create mode 100644 drivers/gpu/drm/msm/msm_gem_shrinker.c
More information about the dri-devel
mailing list