drm/ttm: Add ttm lock functionality.
This is intended to be used by ttm-aware drivers to 1) Block clients to inactive masters when they try to validate buffers for GPU use. 2) Optionally block clients to the current master when there is thrashing due to GPU memory shortage. Used by the vmwgfx driver. Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com> Signed-off-by: NDave Airlie <airlied@redhat.com>
Showing
drivers/gpu/drm/ttm/ttm_lock.c
0 → 100644
include/drm/ttm/ttm_lock.h
0 → 100644
想要评论请 注册 或 登录