Implement mm_lock and mm_unlock functions.
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Tue, 17 Oct 2006 14:00:25 +0000 (16:00 +0200)
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Tue, 17 Oct 2006 14:00:25 +0000 (16:00 +0200)
commit5443dbe35f182b9286a96d24d29037d5cb625e3d
tree053a23cf237b189775ccebe54070c9e0506b830f
parentdb5c671e86c3db8c99ce5a4954632248e6f849aa
Implement mm_lock and mm_unlock functions.
The mm_lock function is used when leaving vt. It evicts _all_ buffers.
Buffers with the DRM_BO_NO_MOVE attribute set will be guaranteed to
get the same offset when / if they are rebound.
libdrm/xf86drm.c
libdrm/xf86mm.h
linux-core/drmP.h
linux-core/drm_bo.c