diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2019-09-06 15:20:56 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2019-09-09 13:52:24 +0300 |
commit | 2236439bc6679caa905d65def47dacd12466c2e9 (patch) | |
tree | 84bc753c4b72e203f9f457c32558d6dad550020b /include/drm/drm_print.h | |
parent | f3309105b87956bdadfcc35bf0cefc463f427c9b (diff) | |
download | linux-2236439bc6679caa905d65def47dacd12466c2e9.tar.xz |
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 'include/drm/drm_print.h')
0 files changed, 0 insertions, 0 deletions