aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2019-09-25 15:11:23 +0200
committerChristian König <[email protected]>2019-11-04 13:02:30 +0100
commitcaa478af48121ea21a8a4d6fe8a1bd467016adba (patch)
treebba99c5fdb48c2ae937e1cc662b79ab2285c7bc0 /tools/perf/scripts/python/bin
parent8951000f6d713c0470b06d3043aeb55683f78fa8 (diff)
drm/ttm: Convert vm callbacks to helpers
The default TTM fault handler may not be completely sufficient (vmwgfx needs to do some bookkeeping, control the write protectionand also needs to restrict the number of prefaults). Also make it possible replicate ttm_bo_vm_reserve() functionality for, for example, mkwrite handlers. So turn the TTM vm code into helpers: ttm_bo_vm_fault_reserved(), ttm_bo_vm_open(), ttm_bo_vm_close() and ttm_bo_vm_reserve(). Also provide a default TTM fault handler for other drivers to use. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/332900/?series=67217&rev=1 Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions