]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/pl111: Set .gem_prime_vmap and .gem_prime_mmap
authorNoralf Trønnes <noralf@tronnes.org>
Tue, 3 Jul 2018 16:03:49 +0000 (18:03 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 10 Jul 2018 12:52:54 +0000 (14:52 +0200)
These are needed for pl111 to use the generic fbdev emulation.

Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180703160354.59955-4-noralf@tronnes.org
drivers/gpu/drm/pl111/pl111_drv.c

index 054b93689d944a0de63da1f521ab96c830eea7d1..17a38e85ba7dd727a0527b5a21c50dcbcb72cd94 100644 (file)
@@ -250,6 +250,8 @@ static struct drm_driver pl111_drm_driver = {
        .gem_prime_import_sg_table = pl111_gem_import_sg_table,
        .gem_prime_export = drm_gem_prime_export,
        .gem_prime_get_sg_table = drm_gem_cma_prime_get_sg_table,
+       .gem_prime_mmap = drm_gem_cma_prime_mmap,
+       .gem_prime_vmap = drm_gem_cma_prime_vmap,
 
 #if defined(CONFIG_DEBUG_FS)
        .debugfs_init = pl111_debugfs_init,