]> git.baikalelectronics.ru Git - kernel.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)
committerSinclair Yeh <syeh@vmware.com>
Fri, 1 Jul 2016 17:47:49 +0000 (10:47 -0700)
commit45843928da06a780879fb78a539a4024f0b1f7be
treec80653a097332502fc4cab07b88aee4142b5d6c2
parentb066ab768be00572ba609e8076107f4e2d3cd81c
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