1. 13 Nov, 2014 2 commits
  2. 20 Oct, 2014 2 commits
  3. 01 Oct, 2014 3 commits
  4. 30 Sep, 2014 6 commits
  5. 25 Sep, 2014 1 commit
    • Daniel Vetter's avatar
      drm: Drop grab fpriv->fbs_lock in drm_fb_release · 1b116297
      Daniel Vetter authored
      Paulo Zanoni reported a lockdep splat with a locking inversion between
      fpriv->fbs_lock and the modeset locks. This issue was introduced in
      
      commit f2b50c11
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Fri Sep 12 17:07:32 2014 +0200
      
          drm: Fixup locking for universal cursor planes
      
      This here is actually one of the rare cases where lockdep hits a false
      positive: The deadlock only happens in drm_fb_release, which cleans up
      the file private structure when all the references are gone. So the
      locking is the very last one and no one else can deadlock. It also
      doesn't protect anything at all, since all ioctls are guaranteed to
      have returned at this point - otherwise they'd still hold a reference
      on the file.
      
      So let's just drop it and replace it with a big comment.
      
      Cc: David Herrmann <dh.herrmann@gmail.com>
      Cc: Matt Roper <matthew.d.roper@intel.com>
      Cc: Paulo Zanoni <przanoni@gmail.com>
      Reported-and-Tested-by: default avatarPaulo Zanoni <przanoni@gmail.com>
      Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      1b116297
  6. 24 Sep, 2014 21 commits
  7. 23 Sep, 2014 2 commits
  8. 22 Sep, 2014 1 commit
    • Dave Airlie's avatar
      Merge branch 'exynos-drm-next' of... · 42532512
      Dave Airlie authored
      Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
         Sorry for late. This pull request includes some enhancements
         for Exynos drm, new feature supports, cleanups and fixups
         like below,
      
         - Consider low power transmission for drm mipi dsi module,
           and also add non-continuous clock mode support for Exynos
           mipi dsi driver.
         - Add Exynos3250 SoC support.
         - Enhance and clean up ipp framework and fimc driver.
         - Update to use component match support and fix up
           de-initialization order.
         - Remove a direct mmap interface and relevant stuff specific to
           Exynos drm, use drm generic mmap interface instead.
           And we will remove the specific interface from userspace
           library, libdrm soon.
         - Use universal plane which allows to replace fake primary plane
           with the real one.
         - Some code cleanups and fixups.
      
      * 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos: (40 commits)
        drm/exynos: switch to universal plane API
        drm/exynos: use drm generic mmap interface
        drm/exynos: remove DRM_EXYNOS_GEM_MAP_OFFSET ioctl
        drm/exynos: factor out initial setting of each driver
        drm/exynos/hdmi: unregister connector on removal
        drm/exynos/dp: unregister connector on removal
        drm/exynos/dpi: unregister connector and panel on removal
        drm/exynos/dsi: unregister connector on removal
        drm/exynos/fb: free exynos framebuffer on error
        drm/exynos/fbdev: fix fbdev gem object cleanup
        drm/exynos: fix drm driver de-initialization order
        drm/exynos/ipp: traverse ipp drivers list safely
        drm/exynos: update to use component match support
        drm/exynos/ipp: add file checks for ioctls
        drm/exynos/ipp: remove file argument from node related functions
        drm/exynos/fimc: fix source buffer registers
        drm/exynos/fimc: simplify buffer queuing
        drm/exynos/fimc: do not enable fimc twice
        drm/exynos/fimc: avoid clearing overflow bits
        drm/exynos/ipp: remove events during command cleaning
        ...
      42532512
  9. 19 Sep, 2014 2 commits
    • Andrzej Hajda's avatar
      drm/exynos: switch to universal plane API · 72ed6ccd
      Andrzej Hajda authored
      The patch replaces legacy functions
      drm_plane_init() / drm_crtc_init() with
      drm_universal_plane_init() and drm_crtc_init_with_planes().
      It allows to replace fake primary plane with the real one.
      Additionally the patch leaves cleanup of crtcs to core,
      this way planes and crtcs are cleaned in correct order.
      Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      72ed6ccd
    • Inki Dae's avatar
      drm/exynos: use drm generic mmap interface · 832316c7
      Inki Dae authored
      This patch removes DRM_EXYNOS_GEM_MMAP ictrl feature specific
      to Exynos drm and instead uses drm generic mmap.
      
      We had used the interface specific to Exynos drm to do mmap directly,
      not to use demand paging which maps each page with physical memory
      at page fault handler. We don't need the specific mmap interface
      because the drm generic mmap which uses vm offset manager stuff can
      also do mmap directly.
      
      This patch makes a userspace region to be mapped with whole physical
      memory region allocated by userspace request when mmap system call is
      requested.
      
      Changelog v2:
      - do not set VM_IO, VM_DONTEXPEND and VM_DONTDUMP. These flags were already
        set by drm_gem_mmap
      - do not include <linux/anon_inodes.h>, which isn't needed anymore.
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      832316c7