1. 01 10月, 2014 4 次提交
  2. 30 9月, 2014 6 次提交
  3. 25 9月, 2014 1 次提交
    • D
      drm: Drop grab fpriv->fbs_lock in drm_fb_release · 1b116297
      Daniel Vetter 提交于
      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: NPaulo Zanoni <przanoni@gmail.com>
      Reviewed-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      1b116297
  4. 24 9月, 2014 21 次提交
  5. 23 9月, 2014 2 次提交
  6. 22 9月, 2014 1 次提交
    • D
      Merge branch 'exynos-drm-next' of... · 42532512
      Dave Airlie 提交于
      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
  7. 20 9月, 2014 3 次提交
    • A
      drm/exynos: switch to universal plane API · 72ed6ccd
      Andrzej Hajda 提交于
      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: NAndrzej Hajda <a.hajda@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      72ed6ccd
    • I
      drm/exynos: use drm generic mmap interface · 832316c7
      Inki Dae 提交于
      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: NInki Dae <inki.dae@samsung.com>
      832316c7
    • I
      drm/exynos: remove DRM_EXYNOS_GEM_MAP_OFFSET ioctl · d931589c
      Inki Dae 提交于
      This interface and relevant codes aren't used anymore.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      d931589c
  8. 19 9月, 2014 2 次提交