2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/gpu/drm/ast
Thomas Zimmermann 81da87f63a 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 <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20190521110831.20200-2-tzimmermann@suse.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-05-22 12:43:29 +02:00
..
ast_dp501.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm/ast: Convert AST driver to VRAM MM 2019-05-15 16:17:07 +02:00
ast_drv.h drm/ast: Replace mapping code with drm_gem_vram_{kmap/kunmap}() 2019-05-15 16:17:07 +02:00
ast_fb.c drm/ast: Replace mapping code with drm_gem_vram_{kmap/kunmap}() 2019-05-15 16:17:07 +02:00
ast_main.c drm/ast: Convert AST driver to VRAM MM 2019-05-15 16:17:07 +02:00
ast_mode.c drm: Replace drm_gem_vram_push_to_system() with kunmap + unpin 2019-05-22 12:43:29 +02:00
ast_post.c drm/ast: Call open_key before enable_mmio in POST code 2017-02-28 13:25:32 +10:00
ast_tables.h drm/ast: Fixed 1280x800 Display Issue 2018-03-23 09:50:54 +10:00
ast_ttm.c drm/ast: Convert AST driver to VRAM MM 2019-05-15 16:17:07 +02:00
Kconfig drm/ast: Convert AST driver to VRAM MM 2019-05-15 16:17:07 +02:00
Makefile drm/ast: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:51 +02:00