linux/include/drm/ttm
Thomas Hellstrom (VMware) 314b6580ad drm/ttm, drm/vmwgfx: Support huge TTM pagefaults
Support huge (PMD-size and PUD-size) page-table entries by providing a
huge_fault() callback.
We still support private mappings and write-notify by splitting the huge
page-table entries on write-access.

Note that for huge page-faults to occur, either the kernel needs to be
compiled with trans-huge-pages always enabled, or the kernel needs to be
compiled with trans-huge-pages enabled using madvise, and the user-space
app needs to call madvise() to enable trans-huge pages on a per-mapping
basis.

Furthermore huge page-faults will not succeed unless buffer objects and
user-space addresses are aligned on huge page size boundaries.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: "Jérôme Glisse" <jglisse@redhat.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Thomas Hellstrom (VMware) <thomas_os@shipmail.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
2020-03-24 18:48:33 +01:00
..
ttm_bo_api.h drm/ttm, drm/vmwgfx: Support huge TTM pagefaults 2020-03-24 18:48:33 +01:00
ttm_bo_driver.h drm/ttm: nuke invalidate_caches callback 2020-01-16 16:35:07 +01: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