diff options
author | Thomas Zimmermann <[email protected]> | 2019-05-21 13:08:29 +0200 |
---|---|---|
committer | Gerd Hoffmann <[email protected]> | 2019-05-22 12:43:29 +0200 |
commit | 81da87f63a1edebcf8cbb811d387e353d9f89c7a (patch) | |
tree | 9838a67ed18ddb9b4d76dc9feadb9582a0d18843 /drivers/fpga/fpga-mgr.c | |
parent | 982c0500fd1a8012c31d3c9dd8de285129904656 (diff) |
drm: Replace drm_gem_vram_push_to_system() with kunmap + unpin
The push-to-system function forces a buffer out of video RAM. This decision
should rather be made by the memory manager. By replacing the function with
calls to the kunmap and unpin functions, the buffer's memory becomes available,
but the buffer remains in VRAM until it's evicted by a pin operation.
This patch replaces the remaining instances of drm_gem_vram_push_to_system()
in ast and mgag200, and removes the function from DRM.
Signed-off-by: Thomas Zimmermann <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions