android_kernel_xiaomi_sm8350/include/drm/ttm
Thomas Hellstrom 3f09ea4ecd drm/ttm: Add a swap_notify callback.
This is needed for a bugfix in the vmwgfx driver.
Drivers may have GPU bindings on buffers that core TTM is not aware of,
and TTM may view those buffers as ordinary system memory buffers.
Add a notifier to such drivers when TTM is about to move the buffer
contents out to swappable memory. The driver must then release any
private GPU bindings on those buffers.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-14 12:18:54 +10:00
..
ttm_bo_api.h
ttm_bo_driver.h
ttm_execbuf_util.h
ttm_lock.h
ttm_memory.h
ttm_module.h
ttm_object.h
ttm_placement.h