]> asedeno.scripts.mit.edu Git - linux.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)
commit3f87330e50ac00199dea3fc54ef04ff21c60e23a
tree52d8179ffe8a51432fbfa0fc1353c05a6ebf344d
parent969562b2cd16e86dc65a3ea75818e5875b01938a
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