drm/ttm: Make ttm_bo_mem_compat available
authorSinclair Yeh <syeh@vmware.com>
Wed, 29 Jun 2016 19:58:49 +0000 (12:58 -0700)
committerSinclair Yeh <syeh@vmware.com>
Fri, 1 Jul 2016 17:47:49 +0000 (10:47 -0700)
commit94477bff390aa4612d2332c8abafaae0a13d6923
treec80653a097332502fc4cab07b88aee4142b5d6c2
parent04319d89fbec72dfd60738003c3813b97c1d5f5a
drm/ttm: Make ttm_bo_mem_compat available

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>
Cc: <stable@vger.kernel.org>
---
This is the first of a 3-patch series to fix a black screen
issue observed on Ubuntu 16.04 server.
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_api.h