kernel-fxtec-pro1x/drivers/gpu/drm/ttm
Francisco Jerez 0fbecd400d drm/ttm: Clear the ghost cpu_writers flag on ttm_buffer_object_transfer.
It makes sense for a BO to move after a process has requested
exclusive RW access on it (e.g. because the BO used to be located in
unmappable VRAM and we intercepted the CPU access from the fault
handler).

If we let the ghost object inherit cpu_writers from the original
object, ttm_bo_release_list() will raise a kernel BUG when the ghost
object is destroyed. This can be reproduced with the nouveau driver on
nv5x.

Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Tested-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-09-22 12:40:38 +10:00
..
Makefile drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_agp_backend.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ttm_bo.c drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_bo_util.c drm/ttm: Clear the ghost cpu_writers flag on ttm_buffer_object_transfer. 2010-09-22 12:40:38 +10:00
ttm_bo_vm.c drm/ttm: ttm_fault callback to allow driver to handle bo placement V6 2010-04-20 14:12:05 +10:00
ttm_execbuf_util.c drm/ttm: Add TTM execbuf utilities. 2009-12-07 15:22:05 +10:00
ttm_lock.c drm/ttm: Remove some leftover debug messages. 2010-05-07 09:20:56 +10:00
ttm_memory.c Merge branch 'drm-ttm-pool' into drm-core-next 2010-04-20 13:12:28 +10:00
ttm_module.c drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_object.c drm/ttm: remove padding from ttm_ref_object on 64bit builds 2010-02-01 11:24:50 +10:00
ttm_page_alloc.c Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2010-07-22 11:45:57 -07:00
ttm_tt.c Merge branch 'drm-ttm-pool' into drm-core-next 2010-04-20 13:12:28 +10:00