1
0
Fork 0
alistair23-linux/include/drm/ttm
Dave Airlie 0a6cad5df5 Merge branch 'vmwgfx-coherent' of git://people.freedesktop.org/~thomash/linux into drm-next
Graphics APIs like OpenGL 4.4 and Vulkan require the graphics driver
to provide coherent graphics memory, meaning that the GPU sees any
content written to the coherent memory on the next GPU operation that
touches that memory, and the CPU sees any content written by the GPU
to that memory immediately after any fence object trailing the GPU
operation is signaled.

Paravirtual drivers that otherwise require explicit synchronization
needs to do this by hooking up dirty tracking to pagefault handlers
and buffer object validation.

Provide mm helpers needed for this and that also allow for huge pmd-
and pud entries (patch 1-3), and the associated vmwgfx code (patch 4-7).

The code has been tested and exercised by a tailored version of mesa
where we disable all explicit synchronization and assume graphics memory
is coherent. The performance loss varies of course; a typical number is
around 5%.

Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Thomas Hellstrom <thomas_os@shipmail.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191113131639.4653-1-thomas_os@shipmail.org
2019-11-28 14:33:01 +10:00
..
ttm_bo_api.h drm/ttm: Convert vm callbacks to helpers 2019-11-06 13:02:00 +01:00
ttm_bo_driver.h drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_debug.h drm/ttm: Add DMA map/unmap tracepoint (v3) 2017-08-29 15:27:50 -04:00
ttm_execbuf_util.h drm/ttm: always keep BOs on the LRU 2019-10-25 11:40:50 +02:00
ttm_memory.h drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_module.h drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_page_alloc.h drm/ttm, drm/vmwgfx: Use a configuration option for the TTM dma page pool 2019-11-14 08:41:23 +01:00
ttm_placement.h drm/ttm: add TTM_PL_FLAG_CONTIGUOUS v2 2017-04-04 23:33:42 -04:00
ttm_set_memory.h drm/ttm: Add ttm_set_pages_wc and ttm_set_pages_uc helper 2018-08-01 17:23:05 -05:00
ttm_tt.h drm/ttm: add bo as parameter to the ttm_tt_create callback 2018-03-14 14:38:27 -05:00