]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: allow to request specific virtual address for gem mapping
authorLucas Stach <l.stach@pengutronix.de>
Fri, 2 Aug 2019 12:19:38 +0000 (14:19 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 15 Aug 2019 09:58:59 +0000 (11:58 +0200)
commit92c99d3b706adb0c8d668f197a829b9c9546d403
tree42969300b67d7c90bf9a0d68a5246c8a4383cd97
parentd5030e45c6515bfe2bf5c863eccac057f1dc75d8
drm/etnaviv: allow to request specific virtual address for gem mapping

Allow the mapping code to request a specific virtual address for the gem
mapping. If the virtual address is zero we fall back to the old mode of
allocating a virtual address for the mapping.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
drivers/gpu/drm/etnaviv/etnaviv_gem.c
drivers/gpu/drm/etnaviv/etnaviv_gem.h
drivers/gpu/drm/etnaviv/etnaviv_mmu.c
drivers/gpu/drm/etnaviv/etnaviv_mmu.h