]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/ttm: Delayed delete fixes.
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 2 Dec 2009 17:33:45 +0000 (18:33 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Dec 2009 05:34:36 +0000 (15:34 +1000)
commitaaa207369436d04bb85382ddbb688a5b9461fd21
tree7d1b013bda999a1c122b7ba067075ef164e168b0
parentb663752627e7c6b4bc414684d71c6adce5719fce
drm/ttm: Delayed delete fixes.

1) Remove from lru before reserving so we avoid competing with
evicting processes.
2) Avoid calling kref_put() on bo::list_kref while spinlocked.
3) Additional refcounting bug-checking.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c