drm/ttm: Add a bo list reserve fastpath (v2)
authorDave Airlie <airlied@redhat.com>
Mon, 22 Nov 2010 03:24:40 +0000 (13:24 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Nov 2010 03:24:40 +0000 (13:24 +1000)
Makes it possible to reserve a list of buffer objects with a single
spin lock / unlock if there is no contention.
Should improve cpu usage on SMP kernels.

v2: Initialize private list members on reserve and don't call
ttm_bo_list_ref_sub() with zero put_count.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found