Hi Gustavo, Am 21.06.2018 um 02:58 schrieb Gustavo Padovan:
Hi Dave, our first pull for 4.19, over 90 patches here, probably the most important ones are for the writeback connector support. Then we have a bunch of fixes to drivers, some interesting core cleanups and new panel drivers. This contains a backmerge of drm-next due to conflicts in drm_atomic.c Please pull, Gustavo drm-misc-next-2018-06-20-1: drm-misc-next for 4.19: UAPI Changes: - Add writeback connector (Brian Starkey/Liviu Dudau) - Add "content type" property to HDMI connectors (Stanislav Lisovskiy) Cross-subsystem Changes: - some devicetree Docs update Core Changes: - Reject over-sized allocation requests early (Chris Wilson) - gem-fb-helper: Always do implicit sync (Daniel Vetter) - dma-buf cleanups (Christian König)
My dma-buf cleanups unfortunately caused a build breakage in ION which I just pushed a fix for into drm-misc-next.
Could you resend this pull request? Thanks in advance and sorry for the noise, Christian.
Driver Changes: - Fixes for the otm8009a panel driver (Philippe Cornu) - Add Innolux TV123WAM panel driver support (Sandeep Panda) - Move GEM BO to drm_framebuffer in few drivers (Daniel Stone) - i915 pinning improvements (Chris Wilson) - Stop consulting plane->fb/crtc in a few drivers (Ville Syrjälä) The following changes since commit daf0678c2036c918f01e4aa6035629d2debc2f30: Merge branch 'drm-next-4.18' of git://people.freedesktop.org/~agd5f/linux into drm-next (2018-06-15 11:32:29 +1000) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2018-06-20-1 for you to fetch changes up to f55786faa156370374c358d186eabf2f6e32e93f: drm/i915/selftests: Remove unused dmabuf->kmap routines, fix the build (2018-06-20 17:48:24 +0100) ---------------------------------------------------------------- drm-misc-next for 4.19: UAPI Changes: - Add writeback connector (Brian Starkey/Liviu Dudau) - Add "content type" property to HDMI connectors (Stanislav Lisovskiy) Cross-subsystem Changes: - some devicetree Docs update Core Changes: - Reject over-sized allocation requests early (Chris Wilson) - gem-fb-helper: Always do implicit sync (Daniel Vetter) - dma-buf cleanups (Christian König) Driver Changes: - Fixes for the otm8009a panel driver (Philippe Cornu) - Add Innolux TV123WAM panel driver support (Sandeep Panda) - Move GEM BO to drm_framebuffer in few drivers (Daniel Stone) - i915 pinning improvements (Chris Wilson) - Stop consulting plane->fb/crtc in a few drivers (Ville Syrjälä) ---------------------------------------------------------------- Alexandru Gheorghe (1): drm/atomic: Set current atomic state in drm_private_state Arnd Bergmann (1): drm/sun4i: mark PM functions as __maybe_unused Brian Starkey (2): drm: Add writeback connector type drm: writeback: Add out-fences for writeback connectors Chris Wilson (5): drm/mm: Reject over-sized allocation requests early drm/mm: Add a search-by-address variant to only inspect a single hole drm/i915: Limit searching for PIN_HIGH drm/i915: Pin the ring high drm/i915/selftests: Remove unused dmabuf->kmap routines, fix the build Christian König (2): dma_buf: remove device parameter from attach callback v2 dma-buf: remove kmap_atomic interface Colin Ian King (1): drm/xen-front: fix spelling mistake: "conector" -> "connector" Dan Carpenter (1): drm/v3d: Checking for NULL vs IS_ERR() Daniel Stone (14): drm/cirrus: Place GEM BOs in drm_framebuffer drm/cirrus: cirrus_framebuffer -> drm_framebuffer drm/virtio: Place GEM BOs in drm_framebuffer drm/armada: Move GEM BO to drm_framebuffer drm/gma500: Move GEM BO to drm_framebuffer drm/msm: Move GEM BOs to drm_framebuffer drm/mtk: Remove impossible internal error drm/mtk: Move GEM BO to drm_framebuffer drm/mtk: mtk_drm_fb -> drm_framebuffer drm/rockchip: Place GEM BOs in drm_framebuffer drm/rockchip: rockchip_drm_fb -> drm_framebuffer drm/omap: Move GEM BO to drm_framebuffer drm/omap: Move buffer pitch/offset to drm_framebuffer drm/gma500: Fix Medfield for drm_framebuffer move Daniel Vetter (3): drm/fb-helper: Fix typo on kerneldoc drm/gem-fb-helper: Always do implicit sync drm/vc4: Always obey implicit sync Dave Stevenson (1): drm/vc4: Add support for SAND modifier. Eric Anholt (2): drm: Trust format_mod_supported() when it OKs a plane modifier. drm/vc4: Add missing formats to vc4_format_mod_supported(). Gerd Hoffmann (1): dma-buf: make map_atomic and map function pointers optional Gustavo Padovan (1): Merge drm-upstream/drm-next into drm-misc-next Haneen Mohammed (1): drm: Add checks for atomic_[duplicate/destroy]_state with atomic drivers Heiko Stuebner (1): drm/rockchip: vop: split out core clock enablement into separate functions Inki Dae (1): drm/bridge: sil_sii8620: do not have a dependency of RC_CORE Julia Lawall (1): drm/rockchip: lvds: add missing of_node_put Jyri Sarha (2): drm/panel: Remove drm_panel_detach() calls from all panel drivers drm/panel: Add device_link from panel device to DRM device Laura Abbott (2): drm/gma500: Remove VLA drm/i2c: tda998x: Remove VLA usage Lin Huang (1): drm/rockchip: cnd-dp: adjust spdif register setting Liviu Dudau (1): drm: writeback: Add client capability for exposing writeback connectors Lubosz Sarnecki (1): drm/edid: Quirk Vive Pro VR headset non-desktop. Lucas Stach (1): drm/panel: simple: AUO P320HVN03 uses SPWG data ordering Lukasz Majewski (1): display: panel: Add AUO g070vvn01 display support (800x480) Maxime Ripard (1): drm/vc4: plane: Expand the lower bits by repeating the higher bits Oleksandr Andrushchenko (1): drm/xen-front: fix pointer casts Peter Rosin (1): drm/rockchip: lvds: avoid duplicating drm_bridge_attach Philippe CORNU (4): drm/panel: otm8009a: Fix backlight updates drm/panel: otm8009a: Fix glitches by moving backlight enable to otm8009a_enable() drm/panel: otm8009a: No message if probe success drm/panel: otm8009a: Use new backlight API Philippe Cornu (2): drm: clarify adjusted_mode documentation for bridges drm/bridge: spelling and coding style minor fixes Sandy Huang (1): drm/rockchip: vop: fix irq disabled after vop driver probed Souptick Joarder (3): gpu: drm: udl: Adding new typedef vm_fault_t gpu: drm: vgem: Change return type to vm_fault_t gpu: drm: drm_vm: Adding new typedef vm_fault_t Stanislav Lisovskiy (2): drm: content-type property for HDMI connector i915: content-type property for HDMI connector Stefan Agner (1): drm/panel: simple: Fix data type in KEO TX31D200VM0BAA timings Thierry Reding (1): drm/bridge: cdns: Mark runtime PM operations as maybe unused Ville Syrjälä (24): drm/edid: Fix up edid_cea_modes[] formatting drm/arc: Stop consulting plane->fb drm/msm: Stop consulting plane->fb/crtc drm/sti: Stop consulting plane->crtc drm/atmel-hlcdc: Stop consulting plane->crtc drm: Add local 'plane' variable for tmp->primary drm/omapdrm: Nuke omap_framebuffer_get_next_connector() drm/atmel-hlcdc: Stop using plane->fb drm/i915: Promote .format_mod_supported() to the lead role drm/vmwgfx: Stop using plane->fb in vmw_kms_atomic_check_modeset() drm/vmwgfx: Stop using plane->fb in vmw_kms_helper_dirty() drm/vmwgfx: Stop using plane->fb in vmw_kms_update_implicit_fb() drm/vmwgfx: Stop updating plane->fb drm/vmwgfx: Stop using plane->fb in atomic_enable() drm/vmwgfx: Stop messing about with plane->fb/old_fb/crtc drm/amdgpu/dc: Stop updating plane->fb drm/i915: Stop updating plane->fb/crtc drm/exynos: Stop updating plane->crtc drm/msm: Stop updating plane->fb/crtc drm/virtio: Stop updating plane->crtc drm/vc4: Stop updating plane->fb/crtc drm: Stop updating plane->crtc/fb/old_fb on atomic drivers drm/atomic: Improve debug messages drm: Print bad user modes spanda@xxxxxxxxxxxxxx (2): dt-bindings: drm/panel: Document Innolux TV123WAM panel bindings drm/panel: simple: Add Innolux TV123WAM panel driver support .../bindings/display/panel/auo,g070vvn01.txt | 29 ++ .../bindings/display/panel/innolux,tv123wam.txt | 20 ++ Documentation/gpu/drm-kms.rst | 15 + Documentation/gpu/kms-properties.csv | 1 + drivers/dma-buf/dma-buf.c | 56 +-- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 5 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 - drivers/gpu/drm/arc/arcpgu_crtc.c | 3 - drivers/gpu/drm/armada/armada_fb.c | 23 +- drivers/gpu/drm/armada/armada_fb.h | 3 +- drivers/gpu/drm/armada/armada_gem.c | 2 - drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 + drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 19 +- drivers/gpu/drm/bridge/Kconfig | 4 +- drivers/gpu/drm/bridge/cdns-dsi.c | 4 +- drivers/gpu/drm/cirrus/cirrus_drv.h | 10 +- drivers/gpu/drm/cirrus/cirrus_fbdev.c | 20 +- drivers/gpu/drm/cirrus/cirrus_main.c | 43 +-- drivers/gpu/drm/cirrus/cirrus_mode.c | 12 +- drivers/gpu/drm/drm_atomic.c | 391 ++++++++++++++++----- drivers/gpu/drm/drm_atomic_helper.c | 40 ++- drivers/gpu/drm/drm_connector.c | 121 ++++++- drivers/gpu/drm/drm_crtc.c | 35 +- drivers/gpu/drm/drm_crtc_internal.h | 3 + drivers/gpu/drm/drm_edid.c | 279 ++++++++------- drivers/gpu/drm/drm_fb_helper.c | 9 +- drivers/gpu/drm/drm_framebuffer.c | 5 - drivers/gpu/drm/drm_gem_framebuffer_helper.c | 2 +- drivers/gpu/drm/drm_ioctl.c | 7 + drivers/gpu/drm/drm_mm.c | 91 +++-- drivers/gpu/drm/drm_mode_config.c | 5 + drivers/gpu/drm/drm_modes.c | 2 +- drivers/gpu/drm/drm_panel.c | 16 + drivers/gpu/drm/drm_plane.c | 41 ++- drivers/gpu/drm/drm_plane_helper.c | 4 +- drivers/gpu/drm/drm_prime.c | 34 +- drivers/gpu/drm/drm_vm.c | 10 +- drivers/gpu/drm/drm_writeback.c | 350 ++++++++++++++++++ drivers/gpu/drm/exynos/exynos_drm_plane.c | 2 - drivers/gpu/drm/gma500/accel_2d.c | 2 +- drivers/gpu/drm/gma500/framebuffer.c | 62 +--- drivers/gpu/drm/gma500/framebuffer.h | 1 - drivers/gpu/drm/gma500/gma_display.c | 10 +- drivers/gpu/drm/gma500/gtt.h | 2 + drivers/gpu/drm/gma500/mdfld_intel_display.c | 2 +- drivers/gpu/drm/gma500/oaktrail_crtc.c | 3 +- drivers/gpu/drm/gma500/psb_intel_sdvo.c | 11 +- drivers/gpu/drm/i2c/tda998x_drv.c | 13 +- drivers/gpu/drm/i915/i915_gem_dmabuf.c | 11 - drivers/gpu/drm/i915/i915_gem_gtt.c | 11 +- drivers/gpu/drm/i915/intel_atomic.c | 1 + drivers/gpu/drm/i915/intel_atomic_plane.c | 12 - drivers/gpu/drm/i915/intel_display.c | 123 ++++--- drivers/gpu/drm/i915/intel_drv.h | 1 + drivers/gpu/drm/i915/intel_hdmi.c | 17 +- drivers/gpu/drm/i915/intel_ringbuffer.c | 2 + drivers/gpu/drm/i915/intel_sprite.c | 141 ++++++-- drivers/gpu/drm/i915/selftests/mock_dmabuf.c | 14 - drivers/gpu/drm/mediatek/mtk_drm_fb.c | 76 +--- drivers/gpu/drm/mediatek/mtk_drm_fb.h | 1 - drivers/gpu/drm/mediatek/mtk_drm_plane.c | 7 +- drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 3 +- drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c | 2 - drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 1 - drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 4 +- drivers/gpu/drm/msm/msm_fb.c | 54 +-- drivers/gpu/drm/omapdrm/omap_fb.c | 109 ++---- drivers/gpu/drm/omapdrm/omap_fb.h | 2 - drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 2 - drivers/gpu/drm/panel/panel-innolux-p079zca.c | 1 - drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 1 - drivers/gpu/drm/panel/panel-lvds.c | 1 - drivers/gpu/drm/panel/panel-orisetech-otm8009a.c | 58 +-- .../gpu/drm/panel/panel-panasonic-vvx10f034n00.c | 1 - drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 1 - drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 1 - drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 1 - drivers/gpu/drm/panel/panel-simple.c | 65 +++- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 1 - drivers/gpu/drm/rockchip/cdn-dp-reg.c | 16 +- drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 86 ++--- drivers/gpu/drm/rockchip/rockchip_drm_fb.h | 3 - drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 73 ++-- drivers/gpu/drm/rockchip/rockchip_lvds.c | 6 +- drivers/gpu/drm/selftests/drm_mm_selftests.h | 2 + drivers/gpu/drm/selftests/test-drm_mm.c | 71 ++++ drivers/gpu/drm/sti/sti_gdp.c | 6 +- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 4 +- drivers/gpu/drm/tegra/gem.c | 14 - drivers/gpu/drm/udl/udl_dmabuf.c | 18 - drivers/gpu/drm/udl/udl_drv.h | 3 +- drivers/gpu/drm/udl/udl_gem.c | 15 +- drivers/gpu/drm/v3d/v3d_sched.c | 4 +- drivers/gpu/drm/vc4/vc4_crtc.c | 3 - drivers/gpu/drm/vc4/vc4_plane.c | 96 ++++- drivers/gpu/drm/vc4/vc4_regs.h | 6 + drivers/gpu/drm/vgem/vgem_drv.c | 5 +- drivers/gpu/drm/virtio/virtgpu_display.c | 32 +- drivers/gpu/drm/virtio/virtgpu_drv.h | 1 - drivers/gpu/drm/virtio/virtgpu_fb.c | 8 +- drivers/gpu/drm/virtio/virtgpu_plane.c | 4 +- drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 25 -- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 20 +- drivers/gpu/drm/vmwgfx/vmwgfx_prime.c | 14 - drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 - drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 5 +- drivers/gpu/drm/xen/xen_drm_front.c | 2 +- drivers/gpu/drm/xen/xen_drm_front.h | 4 +- drivers/gpu/drm/xen/xen_drm_front_shbuf.c | 2 +- .../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/staging/android/ion/ion.c | 2 - drivers/tee/tee_shm.c | 6 - include/drm/drm_atomic.h | 14 +- include/drm/drm_bridge.h | 26 +- include/drm/drm_connector.h | 30 ++ include/drm/drm_crtc.h | 15 +- include/drm/drm_file.h | 7 + include/drm/drm_mm.h | 34 +- include/drm/drm_mode_config.h | 28 ++ include/drm/drm_modeset_helper_vtables.h | 11 + include/drm/drm_panel.h | 1 + include/drm/drm_plane.h | 9 +- include/drm/drm_prime.h | 6 +- include/drm/drm_writeback.h | 130 +++++++ include/linux/dma-buf.h | 21 +- include/uapi/drm/drm.h | 9 + include/uapi/drm/drm_fourcc.h | 59 ++++ include/uapi/drm/drm_mode.h | 8 + 131 files changed, 2282 insertions(+), 1245 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,tv123wam.txt create mode 100644 drivers/gpu/drm/drm_writeback.c create mode 100644 include/drm/drm_writeback.h _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx