drm/etnaviv: split out iova search and MMU reaping logic
authorLucas Stach <l.stach@pengutronix.de>
Fri, 19 Aug 2016 21:43:40 +0000 (23:43 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 15 Sep 2016 13:29:39 +0000 (15:29 +0200)
commit90969c9aa97700663d03c51031652e131df3bd9b
tree7aebc968d6a871440492fad01fcf9d1c076ee9da
parent229855b650bd0716a3d9e82a68ebedee20a35020
drm/etnaviv: split out iova search and MMU reaping logic

With MMUv2 the command buffers need to be mapped through the MMU.
Split out the iova search and MMU reaping logic so it can be reused
for the cmdbuf mapping, where no GEM object is involved.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_mmu.c