1. 09 1月, 2012 1 次提交
  2. 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
  3. 02 8月, 2010 1 次提交
  4. 18 10月, 2008 1 次提交
  5. 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
  6. 07 2月, 2008 2 次提交
  7. 20 10月, 2007 1 次提交
  8. 15 10月, 2007 3 次提交
  9. 12 7月, 2007 1 次提交
  10. 11 7月, 2007 1 次提交
  11. 22 9月, 2006 3 次提交
  12. 02 1月, 2006 1 次提交
  13. 12 11月, 2005 1 次提交
  14. 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
  15. 28 7月, 2005 1 次提交
  16. 28 6月, 2005 1 次提交