1. 01 Oct, 2010 6 commits
  2. 30 Sep, 2010 2 commits
    • 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
    • Arnd Bergmann's avatar
      drm: i810/i830: fix locked ioctl variant · 130b9851
      Arnd Bergmann authored
      The i810 and i830 device drivers may replace their file operations
      on an open file descriptor. My previous patch to move the BKL
      out of the common DRM code into these drivers only caught the
      default file operations, not the ones that actually end up being
      used.
      
      Found while trying to come up with a way to kill the BKL for
      good in these drivers.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      130b9851
  3. 27 Sep, 2010 3 commits
  4. 26 Sep, 2010 2 commits
  5. 25 Sep, 2010 11 commits
  6. 24 Sep, 2010 16 commits