freebsd-nq/sys/dev/drm2/ttm
Jean-Sébastien Pédron 6f65d975ed drm/ttm: Import Linux commit 630541863b29f88c7ab34e647758344e4cd1eafd
Author: Dave Airlie <airlied@gmail.com>
Date:   Wed Jan 16 14:25:44 2013 +1000

    ttm: don't destroy old mm_node on memcpy failure

    When we are using memcpy to move objects around, and we fail to memcpy
    due to lack of memory to populate or failure to finish the copy, we don't
    want to destroy the mm_node that has been copied into old_copy.

    While working on a new kms driver that uses memcpy, if I overallocated bo's
    up to the memory limits, and eviction failed, then machine would oops soon
    after due to having an active bo with an already freed drm_mm embedded in it,
    freeing it a second time didn't end well.

    Reviewed-by: Jerome Glisse <jglisse@redhat.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

Approved by:	kib@
2013-08-25 14:55:08 +00:00
..
ttm_agp_backend.c
ttm_bo_api.h
ttm_bo_driver.h drm/ttm: Import Linux commit cc4c0c4de3c775be22072ec3251f2e581b63d9a0 2013-08-25 14:53:39 +00:00
ttm_bo_manager.c
ttm_bo_util.c drm/ttm: Import Linux commit 630541863b29f88c7ab34e647758344e4cd1eafd 2013-08-25 14:55:08 +00:00
ttm_bo_vm.c On all the architectures, avoid to preallocate the physical memory 2013-08-09 11:28:55 +00:00
ttm_bo.c drm/ttm: Import Linux commit cc4c0c4de3c775be22072ec3251f2e581b63d9a0 2013-08-25 14:53:39 +00:00
ttm_execbuf_util.c drm/ttm: Import Linux commit f2d476a110bc24fde008698ae9018c99e803e25c 2013-08-25 14:52:20 +00:00
ttm_execbuf_util.h
ttm_lock.c
ttm_lock.h
ttm_memory.c drm/ttm: Fix a typo: s/pTTM]/[TTM]/ 2013-03-23 20:46:47 +00:00
ttm_memory.h
ttm_module.h
ttm_object.c
ttm_object.h
ttm_page_alloc_dma.c
ttm_page_alloc.c Different consumers of the struct vm_page abuse pageq member to keep 2013-08-10 17:36:42 +00:00
ttm_page_alloc.h
ttm_placement.h
ttm_tt.c Remove the deprecated VM_ALLOC_RETRY flag for the vm_page_grab(9). 2013-08-22 07:39:53 +00:00