drm/ttm: Make ttm_bo_mem_compat available

commit 94477bff39 upstream.

There are cases where it is desired to see if a proposed placement
is compatible with a buffer object before calling ttm_bo_validate().

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sinclair Yeh 2016-06-29 12:58:49 -07:00 • committed by Greg Kroah-Hartman
commit 6c42c30a3d
2 changed files with 18 additions and 3 deletions