1. 05 Apr, 2016 13 commits
  2. 25 Mar, 2016 1 commit
  3. 23 Mar, 2016 1 commit
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-03-22' of git://anongit.freedesktop.org/drm-intel into drm-next · 17efca93
      Dave Airlie authored
      Bunch of small fixupes all over. Plus a dma-buf patch that Sumit asked me
      to cherry-pick since that's the only one he had in his tree.
      
      There's a sparse issue outstanding in the color mgr stuff, but Lionel is
      still working on something that actually appeases sparse.
      
      * tag 'topic/drm-misc-2016-03-22' of git://anongit.freedesktop.org/drm-intel:
        dma-buf/fence: fix fence_is_later v2
        dma-buf: Update docs for SYNC ioctl
        drm: remove excess description
        dma-buf, drm, ion: Propagate error code from dma_buf_start_cpu_access()
        drm/atmel-hlcdc: use helper to get crtc state
        drm/atomic: use helper to get crtc state
      17efca93
  4. 22 Mar, 2016 2 commits
  5. 21 Mar, 2016 7 commits
  6. 20 Mar, 2016 1 commit
  7. 19 Mar, 2016 1 commit
    • Chris Wilson's avatar
      dma-buf, drm, ion: Propagate error code from dma_buf_start_cpu_access() · 18b862dc
      Chris Wilson authored
      Drivers, especially i915.ko, can fail during the initial migration of a
      dma-buf for CPU access. However, the error code from the driver was not
      being propagated back to ioctl and so userspace was blissfully ignorant
      of the failure. Rendering corruption ensues.
      
      Whilst fixing the ioctl to return the error code from
      dma_buf_start_cpu_access(), also do the same for
      dma_buf_end_cpu_access().  For most drivers, dma_buf_end_cpu_access()
      cannot fail. i915.ko however, as most drivers would, wants to avoid being
      uninterruptible (as would be required to guarrantee no failure when
      flushing the buffer to the device). As userspace already has to handle
      errors from the SYNC_IOCTL, take advantage of this to be able to restart
      the syscall across signals.
      
      This fixes a coherency issue for i915.ko as well as reducing the
      uninterruptible hold upon its BKL, the struct_mutex.
      
      Fixes commit c11e391d
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Thu Feb 11 20:04:51 2016 -0200
      
          dma-buf: Add ioctls to allow userspace to flush
      
      Testcase: igt/gem_concurrent_blit/*dmabuf*interruptible
      Testcase: igt/prime_mmap_coherency/ioctl-errors
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tiago Vignatti <tiago.vignatti@intel.com>
      Cc: Stéphane Marchesin <marcheu@chromium.org>
      Cc: David Herrmann <dh.herrmann@gmail.com>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      CC: linux-media@vger.kernel.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linaro-mm-sig@lists.linaro.org
      Cc: intel-gfx@lists.freedesktop.org
      Cc: devel@driverdev.osuosl.org
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1458331359-2634-1-git-send-email-chris@chris-wilson.co.uk
      18b862dc
  8. 17 Mar, 2016 10 commits
  9. 16 Mar, 2016 4 commits
    • Dave Airlie's avatar
      Merge branch '2016-02-26-st-drm-next' of... · cf481068
      Dave Airlie authored
      Merge branch '2016-02-26-st-drm-next' of http://git.linaro.org/people/benjamin.gaignard/kernel into drm-next
      
      Here are sti patches for drm-next.
      It brings:
        - The support of the atomic_check for the planes and minor fixes for
      planes
        - The support of the vendor specific infoframe for HDMI and the
      support of 2 HDMI properties related to the connector
        - The support of the DVO solving panel detection issue and timing issue.
        - The support of debugfs for connectors, encoders, crtcs and planes.
      
      * '2016-02-26-st-drm-next' of http://git.linaro.org/people/benjamin.gaignard/kernel: (36 commits)
        drm/sti: use u32 to store DMA addresses
        drm: sti: remove sti_gem_prime_export hack
        drm/sti: add debugfs fps_show/fps_get mechanism for planes
        drm/sti: add debugfs entries for TVOUT encoders
        drm/sti: add debugfs entries for MIXER crtc
        drm/sti: add debugfs entries for VID plane
        drm/sti: add debugfs entries for HQVDP plane
        drm/sti: add debugfs entries for GDP planes
        drm/sti: add debugfs entries for CURSOR plane
        drm/sti: add debugfs entries for HDA connector
        drm/sti: add debugfs entries for DVO connector
        drm/sti: add debugfs entries for HDMI connector
        drm/sti: add hdmi_mode property for HDMI connector
        drm/sti: add colorspace property to the HDMI connector
        drm/sti: add HDMI vendor specific infoframe
        drm/sti: reset infoframe transmission when HDMI is stopped
        drm/sti: HDMI infoframe transmission mode not take into account
        drm/sti: reset HD DACS when HDA connector is created
        drm/sti: fix dvo data_enable signal
        drm/sti: adjust delay for DVO
        ...
      cf481068
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux into drm-next · 9f443bf5
      Dave Airlie authored
      A few more fixes and cleanups for 4.6:
      - DCE code cleanups
      - HDP flush/invalidation fixes
      - GPUVM fixes
      - switch to drm_vblank_[on|off]
      - PX fixes
      - misc bug fixes
      
      * 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux: (50 commits)
        drm/amdgpu: split pipeline sync out of SDMA vm_flush() as well
        drm/amdgpu: Revert "add mutex for ba_va->valids/invalids"
        drm/amdgpu: Revert "add lock for interval tree in vm"
        drm/amdgpu: Revert "add spin lock to protect freed list in vm (v3)"
        drm/amdgpu: reserve the PD during unmap and remove
        drm/amdgpu: Fix two bugs in amdgpu_vm_bo_split_mapping
        drm/radeon: Don't drop DP 2.7 Ghz link setup on some cards.
        MAINTAINERS: update radeon entry to include amdgpu as well
        drm/amdgpu: disable runtime pm on PX laptops without dGPU power control
        drm/radeon: disable runtime pm on PX laptops without dGPU power control
        drm/amd/amdgpu: Fix indentation in do_set_base() (DCEv8)
        drm/amd/amdgpu: make afmt_init cleanup if alloc fails (DCEv8)
        drm/amd/amdgpu: Move config init flag to bottom of sw_init (DCEv8)
        drm/amd/amdgpu: Don't proceed into audio_fini if audio is disabled (DCEv8)
        drm/amd/amdgpu: Fix identation in do_set_base() (DCEv10)
        drm/amd/amdgpu: Make afmt_init cleanup if alloc fails (DCEv10)
        drm/amd/amdgpu: Move initialized flag to bottom of sw_init (DCEv10)
        drm/amd/amdgpu: Don't proceed in audio_fini if disabled (DCEv10)
        drm/amd/amdgpu: Fix indentation in dce_v11_0_crtc_do_set_base()
        drm/amd/amdgpu: Make afmt_init() cleanup if alloc fails (DCEv11)
        ...
      9f443bf5
    • Dave Airlie's avatar
      Merge tag 'vmwgfx-next-160316' of git://people.freedesktop.org/~thomash/linux into drm-next · 70a09f36
      Dave Airlie authored
      Pull request of 2016-03-16
      
      * tag 'vmwgfx-next-160316' of git://people.freedesktop.org/~thomash/linux:
        drm/vmwgfx: Bump driver minor
        drm/vmwgfx: Allow the UPDATE_LAYOUT ioctl from control nodes
        drm/vmwgfx: Send a hotplug event at master_set
        drm/vmwgfx: Default to explicit crtc placement for screen targets and screen objects
        drm/vmwgfx: Calculate the cursor position based on the crtc gui origin
        drm/vmwgfx: Add connector properties to switch between explicit and implicit placement
        drm/vmwgfx: Add suggested screen x and y connector properties
        drm/vmwgfx: Add implicit framebuffer checks to the screen target code
        drm/vmwgfx: Break out implicit fb code
        drm/vmwgfx: Rework screen target page flips v2
        drm/vmwgfx: Fix screen object page flips for large framebuffers
        drm/vmwgfx: Fix a screen object framebuffer dirty corner case
        drm/vmwgfx: Add DXGenMips support
      70a09f36
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2016-03-16' of... · 189df01d
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2016-03-16' of http://anongit.freedesktop.org/git/drm-intel into drm-next
      
      * tag 'drm-intel-next-fixes-2016-03-16' of http://anongit.freedesktop.org/git/drm-intel:
        drm/i915: Handle -EDEADLK in drm_atomic_commit from load-detect.
      189df01d