]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/ttm: Make ttm_bo_mem_compat available
authorSinclair Yeh <syeh@vmware.com>
Wed, 29 Jun 2016 19:58:49 +0000 (12:58 -0700)
committerSasha Levin <alexander.levin@verizon.com>
Mon, 8 Aug 2016 01:44:43 +0000 (21:44 -0400)
commit69fb704cac4d3eb59b407f8cc8fa366c44e71318
tree8300b1907cac7d8808ce9c9ec96eb3a1e08cea9c
parent3837836cb5e729b7ee2b80957f82141d6ee30436
drm/ttm: Make ttm_bo_mem_compat available

[ Upstream commit 94477bff390aa4612d2332c8abafaae0a13d6923 ]

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.

Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_api.h