aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2019-09-06 14:20:53 +0200
committerThomas Zimmermann <[email protected]>2019-09-09 12:51:31 +0200
commit37a48adfba6cf6e87df9ba8b75ab85d514ed86d8 (patch)
tree63662d6aecee637b866a226e64e89384df408761 /tools/perf/scripts/python/powerpc-hcalls.py
parente5ef909cb42ced1a842c4fda1597cd8841f78b84 (diff)
drm/vram: Add kmap ref-counting to GEM VRAM objects
The kmap and kunmap operations of GEM VRAM buffers can now be called in interleaving pairs. The first call to drm_gem_vram_kmap() maps the buffer's memory to kernel address space and the final call to drm_gem_vram_kunmap() unmaps the memory. Intermediate calls to these functions increment or decrement a reference counter. This change allows for keeping buffer memory mapped for longer and minimizes the amount of changes to TLB, page tables, etc. v4: * lock in kmap()/kunmap() with ttm_bo_reserve() Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Gerd Hoffmann <[email protected]> Acked-by: Daniel Vetter <[email protected]> Reported-and-tested-by: Davidlohr Bueso <[email protected]> Cc: Davidlohr Bueso <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions