1. 10 9月, 2014 1 次提交
  2. 22 4月, 2014 1 次提交
  3. 09 10月, 2013 1 次提交
  4. 07 8月, 2013 1 次提交
  5. 28 2月, 2013 1 次提交
  6. 03 10月, 2012 1 次提交
  7. 20 7月, 2012 1 次提交
    • D
      drm/via: clean up reclaim_buffers · 834859c3
      Daniel Vetter 提交于
      A few things
      - kill reclaim_buffers, it's never ever called because via does not set
        DRIVER_HAVE_DMA
      - inline the idlelock dance into the buffer reclaim logic and make it
        a simple preclose cleanup function
      - directly call the the dma_quiescent function and kill the needless
        if check.
      
      v2: Actually drop the idlelock when we take it. Reported by James
      Simmons.
      
      v3: Rebased onto latest drm-next.
      
      v4: Fixup the refactor.
      
      v5: More fixup the refactor - I've accidentally changed the check for
      any master to checking whether the closing fd is the master.
      
      v6: Don't forget to drop the idlelock in the early return path, too.
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      834859c3
  8. 09 1月, 2012 1 次提交
  9. 22 12月, 2011 4 次提交
    • D
      drm/via: use drm_mm instead of drm_sman · 977b4f6e
      Daniel Vetter 提交于
      To make the transition in a piece-wise and bisectable way possible,
      I've hijacked the ->owner_list from drm_sman. While transitioning, the
      list_add was done by the driver, while the list_del was still done by
      the dying sman code.
      
      Now that we are in full control of ->owner_list, do the list_del
      ourselves.
      
      v2: Better explain the list_del trickery as suggested by Chris Wilson.
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      977b4f6e
    • D
      drm/via: track user->memblock mapping with idr · 77ee8f38
      Daniel Vetter 提交于
      Massive indirection through a hashtable for a simple key->pointer
      look-up actually just adds bloat.
      
      v2: Drop the misleading comment noted by Chris Wilson.
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      77ee8f38
    • D
      drm/sman: rip out owner tracking · 763240de
      Daniel Vetter 提交于
      In contrast to kms drivers, sis/via _always_ associated a buffer with
      a drm fd. So by the time we reach lastclose, all open drm fds are gone
      and with them their associated objects.
      
      So when sis/via call drm_sman_cleanup in their lastclose funcs, that
      will free 0 objects.
      
      The owner tracking now serves no purpose at all, hence rip it ou. We
      can't kill the corresponding fields in struct drm_memblock_item yet
      because we hijack these in the new driver private owner tracking. But
      now that drm_sman.c doesn't touch ->owner_list anymore, we need to
      kill the list_move hack and properly add the item to the file_priv
      list.
      
      Also leave the list_del(&obj->owner_list) in drm_sman_free for the
      moment, it will move to the drivers when sman disappears completely.
      
      v2: Remove the redundant INIT_LIST_HEAD as noted by Chris Wilson
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      763240de
    • D
      drm/via: track obj->drm_fd relations in the driver · c828e204
      Daniel Vetter 提交于
      Exactly like the previous patch for sis.
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      c828e204
  10. 02 8月, 2010 1 次提交
  11. 18 10月, 2008 1 次提交
  12. 14 7月, 2008 1 次提交
    • D
      drm: reorganise drm tree to be more future proof. · c0e09200
      Dave Airlie 提交于
      With the coming of kernel based modesetting and the memory manager stuff,
      the everything in one directory approach was getting very ugly and
      starting to be unmanageable.
      
      This restructures the drm along the lines of other kernel components.
      
      It creates a drivers/gpu/drm directory and moves the hw drivers into
      subdirectores. It moves the includes into an include/drm, and
      sets up the unifdef for the userspace headers we should be exporting.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c0e09200
  13. 07 2月, 2008 2 次提交
  14. 20 10月, 2007 1 次提交
  15. 15 10月, 2007 3 次提交
  16. 12 7月, 2007 1 次提交
  17. 11 7月, 2007 1 次提交
  18. 22 9月, 2006 3 次提交
  19. 02 1月, 2006 1 次提交
  20. 12 11月, 2005 1 次提交
  21. 25 9月, 2005 1 次提交
    • D
      drm: lindent the drm directory. · b5e89ed5
      Dave Airlie 提交于
      I've been threatening this for a while, so no point hanging around.
      This lindents the DRM code which was always really bad in tabbing department.
      I've also fixed some misnamed files in comments and removed some trailing
      whitespace.
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      b5e89ed5
  22. 28 7月, 2005 1 次提交
  23. 28 6月, 2005 1 次提交