1. 24 Oct, 2017 2 commits
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2017-10-20' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · fef1aa48
      Dave Airlie authored
      Final drm-misc feature pull for 4.15:
      
      UAPI Changes:
      - new madvise ioctl for vc4 (Boris)
      
      Core Changes:
      - plane commit tracking fixes (Maarten)
      - vgaarb improvements for fancy new platforms (aka ppc64 and arm64) by
        Bjorn Helgaas
      
      Driver Changes:
      - pile of new panel drivers: Toshiba LT089AC19000, Innolux AT043TN24
      - more sun4i work to support A10/A20 Tcon and hdmi outputs
      - vc4: fix sleep in irq handler by making it threaded (Eric)
      - udl probe/edid read fixes (Robert Tarasov)
      
      And a bunch of misc small cleanups/refactors and doc fixes all over.
      
      * tag 'drm-misc-next-2017-10-20' of git://anongit.freedesktop.org/drm/drm-misc: (32 commits)
        drm/vc4: Fix sleeps during the IRQ handler for DSI transactions.
        drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl
        drm/panel: simple: add Toshiba LT089AC19000
        dma-fence: remove duplicate word in comment
        drm/panel: simple: add delays for Innolux AT043TN24
        drm/panel: simple: add bus flags for Innolux AT043TN24
        drm/panel: simple: fix vertical timings for Innolux AT043TN24
        drm/atomic-helper: check that drivers call drm_crtc_vblank_off
        drm: some KMS todo ideas
        vgaarb: Factor out EFI and fallback default device selection
        vgaarb: Select a default VGA device even if there's no legacy VGA
        drm/bridge: adv7511: Fix a use after free
        drm/sun4i: Add support for A20 display pipeline components
        drm/sun4i: Add support for A10 display pipeline components
        drm/sun4i: hdmi: Support HDMI controller on A10
        drm/sun4i: tcon: Add support for A10 TCON
        drm/sun4i: backend: Support output muxing
        drm/sun4i: tcon: Move out the tcon0 common setup
        drm/sun4i: tcon: Don't rely on encoders to set the TCON mode
        drm/sun4i: tcon: Don't rely on encoders to enable the TCON
        ...
      fef1aa48
    • Dave Airlie's avatar
      Merge tag 'drm/tegra/for-4.15-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next · 3b677e43
      Dave Airlie authored
      drm/tegra: Changes for v4.15-rc1
      
      This contains a bit of cleanup and some minor fixes for the host1x and
      Tegra DRM drivers. There's also some more preparatory work for Tegra186
      support which I'm not quite ready to send upstream because the GPIO
      driver needed for HDMI support has been stuck for months, and we can't
      do much without it. Hopefully that driver will land in v4.15, which
      would mean we could go ahead with Tegra186 display support in v4.16.
      
      * tag 'drm/tegra/for-4.15-rc1' of git://anongit.freedesktop.org/tegra/linux: (21 commits)
        drm/tegra: hdmi: Add cec-notifier support
        drm/tegra: dc: Perform a complete reset sequence
        drm/tegra: dc: Make sure to set the module clock rate
        drm/tegra: dc: Simplify atomic plane helper functions
        drm/tegra: dc: Move some declarations to dc.h
        drm/tegra: vic: Use of_device_get_match_data()
        drm/tegra: sor: Use of_device_get_match_data()
        drm/tegra: hdmi: Use of_device_get_match_data()
        drm/tegra: dc: Use of_device_get_match_data()
        drm/tegra: Use u64_to_user_ptr helper
        gpu: host1x: Fix incorrect comment for channel_request
        gpu: host1x: Disassemble more instructions
        gpu: host1x: Improve debug disassembly formatting
        gpu: host1x: Enable gather filter
        gpu: host1x: Enable Tegra186 syncpoint protection
        gpu: host1x: Call of_dma_configure() after setting bus
        drm/tegra: Add Tegra186 support for VIC
        gpu: host1x: Add Tegra186 support
        dt-bindings: host1x: Add Tegra186 information
        gpu: host1x: syncpt: Request syncpoints per client
        ...
      3b677e43
  2. 23 Oct, 2017 1 commit
    • Keith Packard's avatar
      drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls [v3] · 3064abfa
      Keith Packard authored
      These provide crtc-id based functions instead of pipe-number, while
      also offering higher resolution time (ns) and wider frame count (64)
      as required by the Vulkan API.
      
      v2:
      
       * Check for DRIVER_MODESET in new crtc-based vblank ioctls
      
      	Failing to check this will oops the driver.
      
       * Ensure vblank interupt is running in crtc_get_sequence ioctl
      
      	The sequence and timing values are not correct while the
      	interrupt is off, so make sure it's running before asking for
      	them.
      
       * Short-circuit get_sequence if the counter is enabled and accurate
      
      	Steal the idea from the code in wait_vblank to avoid the
      	expense of drm_vblank_get/put
      
       * Return active state of crtc in crtc_get_sequence ioctl
      
      	Might be useful for applications that aren't in charge of
      	modesetting?
      
       * Use drm_crtc_vblank_get/put in new crtc-based vblank sequence ioctls
      
      	Daniel Vetter prefers these over the old drm_vblank_put/get
      	APIs.
      
       * Return s64 ns instead of u64 in new sequence event
      Suggested-by: default avatarDaniel Vetter <daniel@ffwll.ch>
      Suggested-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      
      v3:
      
       * Removed FIRST_PIXEL_OUT_FLAG
       * Document that the timestamp in the query and event are
         that of the first pixel leaving the display engine for
         the display (using the same wording as the Vulkan spec).
      Suggested-by: default avatarMichel Dänzer <michel@daenzer.net>
      Acked-by: default avatarDave Airlie <airlied@redhat.com>
      
      [airlied: left->leaves (Michel)]
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      3064abfa
  3. 20 Oct, 2017 26 commits
  4. 19 Oct, 2017 11 commits