aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_crtc.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-10-19 03:01:01 -0400
committerDave Airlie <airlied@redhat.com>2010-10-20 21:53:28 -0400
commite1efc9b6ac22c605fd326b3f6af9b393325d43b4 (patch)
tree98960a29a6b4217b3ac219fd2be37e6b648e4589 /include/drm/drm_crtc.h
parent40d857bba2915a4e8d82f44744a186bfdd1a46ea (diff)
drm/ttm: Optimize delayed buffer destruction
This commit replaces the ttm_bo_cleanup_ref function with two new functions. One for the case where the bo is not yet on the delayed destroy list, and one for the case where the bo was on the delayed destroy list, at least at the time of call. This makes it possible to optimize the two cases somewhat. It also enables the possibility to directly destroy buffers on the delayed delete list when they are about to be evicted or swapped out. Currently they were only evicted / swapped and destruction was left for the delayed buffer destruction thread. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_crtc.h')
0 files changed, 0 insertions, 0 deletions