]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Replace mapping code with drm_gem_vram_{kmap/kunmap}()
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 8 May 2019 08:26:21 +0000 (10:26 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 May 2019 14:17:07 +0000 (16:17 +0200)
commite94d569254d76eb45567557290165dc5299a6858
tree52d8179ffe8a51432fbfa0fc1353c05a6ebf344d
parenta4da3f5f60fc660852f3a3554cb9ea4f376871ff
drm/ast: Replace mapping code with drm_gem_vram_{kmap/kunmap}()

The AST driver establishes several memory mappings for frame buffers
and cursors. This patch converts the driver to use the equivalent
drm_gem_vram_kmap() functions. It removes the dependencies on TTM
and cleans up the code.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20190508082630.15116-12-tzimmermann@suse.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_fb.c
drivers/gpu/drm/ast/ast_mode.c