All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

  1. 31 May, 2016 1 commit
  2. 17 May, 2016 1 commit
  3. 09 Mar, 2016 1 commit
    • Luis R. Rodriguez's avatar
      dma, mm/pat: Rename dma_*_writecombine() to dma_*_wc() · f6e45661
      Luis R. Rodriguez authored
      Rename dma_*_writecombine() to dma_*_wc(), so that the naming
      is coherent across the various write-combining APIs. Keep the
      old names for compatibility for a while, these can be removed
      at a later time. A guard is left to enable backporting of the
      rename, and later remove of the old mapping defines seemlessly.
      
      Build tested successfully with allmodconfig.
      
      The following Coccinelle SmPL patch was used for this simple
      transformation:
      
      @ rename_dma_alloc_writecombine @
      expression dev, size, dma_addr, gfp;
      @@
      
      -dma_alloc_writecombine(dev, size, dma_addr, gfp)
      +dma_alloc_wc(dev, size, dma_addr, gfp)
      
      @ rename_dma_free_writecombine @
      expression dev, size, cpu_addr, dma_addr;
      @@
      
      -dma_free_writecombine(dev, size, cpu_addr, dma_addr)
      +dma_free_wc(dev, size, cpu_addr, dma_addr)
      
      @ rename_dma_mmap_writecombine @
      expression dev, vma, cpu_addr, dma_addr, size;
      @@
      
      -dma_mmap_writecombine(dev, vma, cpu_addr, dma_addr, size)
      +dma_mmap_wc(dev, vma, cpu_addr, dma_addr, size)
      
      We also keep the old names as compatibility helpers, and
      guard against their definition to make backporting easier.
      
      Generated-by: Coccinelle SmPL
      Suggested-by: default avatarIngo Molnar <mingo@kernel.org>
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: airlied@linux.ie
      Cc: akpm@linux-foundation.org
      Cc: benh@kernel.crashing.org
      Cc: bhelgaas@google.com
      Cc: bp@suse.de
      Cc: dan.j.williams@intel.com
      Cc: daniel.vetter@ffwll.ch
      Cc: dhowells@redhat.com
      Cc: julia.lawall@lip6.fr
      Cc: konrad.wilk@oracle.com
      Cc: linux-fbdev@vger.kernel.org
      Cc: linux-pci@vger.kernel.org
      Cc: luto@amacapital.net
      Cc: mst@redhat.com
      Cc: tomi.valkeinen@ti.com
      Cc: toshi.kani@hp.com
      Cc: vinod.koul@intel.com
      Cc: xen-devel@lists.xensource.com
      Link: http://lkml.kernel.org/r/1453516462-4844-1-git-send-email-mcgrof@do-not-panic.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      f6e45661
  4. 15 Dec, 2015 1 commit
  5. 07 Dec, 2015 1 commit
  6. 16 Oct, 2015 1 commit
  7. 10 Aug, 2015 1 commit
  8. 22 Jul, 2015 1 commit
    • Daniel Vetter's avatar
      drm/cma-helper: Fix locking in drm_fb_cma_debugfs_show · 9e75c0ef
      Daniel Vetter authored
      This function takes two locks, both of them the wrong ones. This
      wasn't an oversight from my fb locking rework since both patches
      landed in parallel. We really only need fb_lock when walking that
      list, since everything we can reach from that is refcounted properly
      already.
      
      v2: Drop unused dev spotted by 0day.
      
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      9e75c0ef
  9. 14 Jun, 2015 1 commit
    • Magnus Damm's avatar
      drm/cma: Fix 64-bit size_t build warnings · 30c4cf3b
      Magnus Damm authored
      Fix warnings related to size_t when building for 64-bit architectures:
      
      drivers/gpu/drm/drm_gem_cma_helper.c: In function ‘drm_gem_cma_create’:
      drivers/gpu/drm/drm_gem_cma_helper.c:114:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
          size);
          ^
      drivers/gpu/drm/drm_gem_cma_helper.c: In function ‘drm_gem_cma_describe’:
      drivers/gpu/drm/drm_gem_cma_helper.c:393:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘size_t’ [-Wformat=]
          off, &cma_obj->paddr, cma_obj->vaddr, obj->size);
      Signed-off-by: default avatarMagnus Damm <damm+renesas@opensource.se>
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      30c4cf3b
  10. 13 Nov, 2014 3 commits
  11. 30 Sep, 2014 1 commit
  12. 20 Jul, 2014 1 commit
  13. 03 Apr, 2014 2 commits
  14. 18 Mar, 2014 1 commit
  15. 06 Aug, 2013 1 commit
  16. 25 Jul, 2013 1 commit
    • David Herrmann's avatar
      drm/gem: convert to new unified vma manager · 0de23977
      David Herrmann authored
      Use the new vma manager instead of the old hashtable. Also convert all
      drivers to use the new convenience helpers. This drops all the
      (map_list.hash.key << PAGE_SHIFT) non-sense.
      
      Locking and access-management is exactly the same as before with an
      additional lock inside of the vma-manager, which strictly wouldn't be
      needed for gem.
      
      v2:
       - rebase on drm-next
       - init nodes via drm_vma_node_reset() in drm_gem.c
      v3:
       - fix tegra
      v4:
       - remove duplicate if (drm_vma_node_has_offset()) checks
       - inline now trivial drm_vma_node_offset_addr() calls
      v5:
       - skip node-reset on gem-init due to kzalloc()
       - do not allow mapping gem-objects with offsets (backwards compat)
       - remove unneccessary casts
      
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Dave Airlie <airlied@redhat.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
      Acked-by: default avatarPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarDave Airlie <airlied@gmail.com>
      0de23977
  17. 16 Jul, 2013 1 commit
  18. 04 Jul, 2013 2 commits
  19. 27 Jun, 2013 1 commit
  20. 10 Jun, 2013 1 commit
  21. 08 Jun, 2013 3 commits
  22. 17 Feb, 2013 1 commit
    • Rob Clark's avatar
      drm/cma: add debugfs helpers · 6f646095
      Rob Clark authored
      Add helper to display fb's which can be used directly in drm_info_list:
      
      static struct drm_info_list foo_debugfs_list[] = {
      		...
      		{ "fb",   drm_fb_cma_debugfs_show, 0 },
      };
      
      to display information about CMA fb objects, as well as a
      drm_gem_cma_describe() which can be used if the driver bothers to keep
      a list of CMA GEM objects.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      6f646095
  23. 18 Sep, 2012 1 commit