diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2019-06-13 09:30:33 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2019-06-13 13:36:20 +0200 |
commit | a6c3464f69cf5a8a31eb31cc436e7dbd325b8ff9 (patch) | |
tree | 85e573a0ca427b6121b3d62fe9b4c5d150d104ac /drivers/gpu/drm/ast/ast_mode.c | |
parent | bb5ce9a017b851190300bf01b73eb96fc528b6c4 (diff) | |
download | linux-a6c3464f69cf5a8a31eb31cc436e7dbd325b8ff9.tar.bz2 |
drm/gem-vram: Support pinning buffers to current location
Pinning a buffer prevents it from being moved to a different memory
location. For some operations, such as buffer updates, it is not
important where the buffer is located. Setting the pin function's
pl_flag argument to 0 will pin the buffer to whereever it is stored.
v2:
* document pin flags in PRIME pin helper
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190613073041.29350-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ast/ast_mode.c')
0 files changed, 0 insertions, 0 deletions