summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2019-09-25 15:11:23 +0200
committerChristian König <christian.koenig@amd.com>2019-11-04 13:02:30 +0100
commitcaa478af48121ea21a8a4d6fe8a1bd467016adba (patch)
treebba99c5fdb48c2ae937e1cc662b79ab2285c7bc0 /tools/perf/scripts/python
parent8951000f6d713c0470b06d3043aeb55683f78fa8 (diff)
downloadlinux-caa478af48121ea21a8a4d6fe8a1bd467016adba.tar.gz
linux-caa478af48121ea21a8a4d6fe8a1bd467016adba.zip
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 <thellstrom@vmware.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/332900/?series=67217&rev=1 Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions