1. 06 Oct, 2010 14 commits
  2. 04 Oct, 2010 5 commits
  3. 03 Oct, 2010 5 commits
  4. 02 Oct, 2010 2 commits
  5. 01 Oct, 2010 13 commits
  6. 30 Sep, 2010 1 commit
    • Dave Airlie's avatar
      drm/gem: handlecount isn't really a kref so don't make it one. · 29d08b3e
      Dave Airlie authored
      There were lots of places being inconsistent since handle count
      looked like a kref but it really wasn't.
      
      Fix this my just making handle count an atomic on the object,
      and have it increase the normal object kref.
      
      Now i915/radeon/nouveau drivers can drop the normal reference on
      userspace object creation, and have the handle hold it.
      
      This patch fixes a memory leak or corruption on unload, because
      the driver had no way of knowing if a handle had been actually
      added for this object, and the fbcon object needed to know this
      to clean itself up properly.
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      29d08b3e