android_kernel_google_msm/drivers/gpu/drm/ttm
Thomas Hellstrom 63034aee5f drm/ttm: Fix memory type compatibility check
commit 59c8e66378 upstream.

Also check the busy placements before deciding to move a buffer object.
Failing to do this may result in a completely unneccessary move within a
single memory type.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Weng Meiling <wengmeiling.weng@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 16:02:13 -07:00
..
Makefile
ttm_agp_backend.c drm/ttm: Use pr_fmt and pr_<level> 2012-03-20 08:45:35 +00:00
ttm_bo.c drm/ttm: Fix memory type compatibility check 2014-06-07 16:02:13 -07:00
ttm_bo_manager.c
ttm_bo_util.c drm/ttm: Handle in-memory region copies 2013-12-04 10:50:32 -08:00
ttm_bo_vm.c drm/ttm: Use pr_fmt and pr_<level> 2012-03-20 08:45:35 +00:00
ttm_execbuf_util.c
ttm_lock.c
ttm_memory.c drm/ttm: Use pr_fmt and pr_<level> 2012-03-20 08:45:35 +00:00
ttm_module.c
ttm_object.c drm/ttm: Use pr_fmt and pr_<level> 2012-03-20 08:45:35 +00:00
ttm_page_alloc.c ttm: Clear the ttm page allocated from high memory zone correctly 2012-11-26 11:37:45 -08:00
ttm_page_alloc_dma.c drm/ttm: Use pr_fmt and pr_<level> 2012-03-20 08:45:35 +00:00
ttm_tt.c drm/ttm: fix the tt_populated check in ttm_tt_destroy() 2013-10-01 09:10:51 -07:00