]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2016 15:42:19 +0000 (08:42 -0700)
commit70124a05e699c951f59a670bdca4872d6e75d701
tree1b4c64e94cb1153fc47a16cc0ac85a58e292ec83
parent21b8579a4269abca96090544db8fb3499a5a24a7
drm/ttm: Make ttm_bo_mem_compat available

commit 94477bff390aa4612d2332c8abafaae0a13d6923 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>
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_api.h