1. 07 7月, 2015 1 次提交
    • D
      drm/rockchip: use drm_gem_mmap helpers · 41315b79
      Daniel Kurtz 提交于
      Rather than (incompletely [0]) re-implementing drm_gem_mmap() and
      drm_gem_mmap_obj() helpers, call them directly from the rockchip mmap
      routines.
      
      Once the core functions return successfully, the rockchip mmap routines
      can still use dma_mmap_attrs() to simply mmap the entire buffer.
      
      [0] Previously, we were performing the mmap() without first taking a
      reference on the underlying gem buffer.  This could leak ptes if the gem
      object is destroyed while userspace is still holding the mapping.
      Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Cc: stable@vger.kernel.org
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      41315b79
  2. 04 7月, 2015 1 次提交
  3. 24 6月, 2015 2 次提交
  4. 23 6月, 2015 2 次提交
  5. 22 6月, 2015 15 次提交
  6. 19 6月, 2015 19 次提交