1. 05 6月, 2012 3 次提交
  2. 01 6月, 2012 1 次提交
  3. 23 5月, 2012 2 次提交
  4. 22 5月, 2012 7 次提交
  5. 18 5月, 2012 1 次提交
  6. 17 5月, 2012 6 次提交
  7. 12 5月, 2012 1 次提交
    • R
      drm: pass dev to drm_vm_{open,close}_locked() · b06d66be
      Rob Clark 提交于
      Previously these functions would assume that vma->vm_file was the
      drm_file.  Although if in some cases if the drm driver needs to use
      something else for the backing file (such as the tmpfs filp) then this
      assumption is no longer true.  But vma->vm_private_data is still the
      GEM object.
      
      With this change, now the drm_device comes from the GEM object rather
      than the drm_file so the driver is more free to play with vma->vm_file.
      
      The scenario where this comes up is for mmap'ing of cached dmabuf's
      for non-coherent systems, where the driver needs to use fault handling
      and PTE shootdown to simulate coherency.  We can't use the vma->vm_file
      of the dmabuf, which is using anon_inode's address_space.  The most
      straightforward thing to do is to use the GEM object's obj->filp for
      vma->vm_file in all cases, for which we need this patch.
      Signed-off-by: NRob Clark <rob@ti.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      b06d66be
  8. 10 5月, 2012 1 次提交
  9. 08 5月, 2012 3 次提交
  10. 27 4月, 2012 2 次提交
  11. 24 4月, 2012 1 次提交
  12. 20 4月, 2012 5 次提交
  13. 12 4月, 2012 1 次提交
  14. 03 4月, 2012 1 次提交
  15. 02 4月, 2012 1 次提交
  16. 30 3月, 2012 1 次提交
  17. 27 3月, 2012 1 次提交
  18. 24 3月, 2012 1 次提交
  19. 21 3月, 2012 1 次提交