summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm/ttm_agp_backend.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-10-29 10:46:45 +0200
committerDave Airlie <airlied@redhat.com>2010-11-09 13:33:24 +1000
commitd7a67cb16238abb3109c111761797e0584a6caf9 (patch)
tree19ac4ed6632d24adda3c5b311612ef34c40fb7bd /drivers/gpu/drm/ttm/ttm_agp_backend.c
parent3205bc242b5e3950c808049dbf199fca91f2c844 (diff)
drm/ttm: Use private locks for the default bo range manager
Searching for a free block in the range manager may in some situations be a lenghty operation, and we want to avoid holding the global lru lock during that time. Instead use a per-manager spinlock. This leaves the global lru lock for quick lru list and swap list manipulation only, including list manipulation associated with reserving buffer objects. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_agp_backend.c')
0 files changed, 0 insertions, 0 deletions