diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2019-09-06 14:20:56 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2019-09-09 12:52:24 +0200 |
commit | 2236439bc6679caa905d65def47dacd12466c2e9 (patch) | |
tree | 84bc753c4b72e203f9f457c32558d6dad550020b /Documentation/gpu | |
parent | drm/vram: Add infrastructure for move_notify() (diff) | |
download | linux-2236439bc6679caa905d65def47dacd12466c2e9.tar.xz linux-2236439bc6679caa905d65def47dacd12466c2e9.zip |
drm/vram: Implement lazy unmapping for GEM VRAM buffers
Frequent mapping and unmapping a buffer object adds overhead for
modifying the page table and creates debug output. Unmapping a buffer
is only required when the memory manager evicts the buffer from its
current location.
v4:
* WARN_ON if buffer is still mapped during BO cleanup
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reported-and-tested-by: Davidlohr Bueso <dbueso@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20190906122056.32018-5-tzimmermann@suse.de
Diffstat (limited to 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions