drm/etnaviv: move idle mapping reaping into separate function
authorLucas Stach <l.stach@pengutronix.de>
Thu, 14 Jul 2022 10:31:42 +0000 (12:31 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 26 Aug 2022 19:36:47 +0000 (21:36 +0200)
commit5a40837debaa9dcc71765d32ce1a15be068b6cc2
tree1dc4cc425a8ea90136de0ce445e547719dfafdd8
parent6cffb1c27f2d05047c7f569c425fd56d11ae89b2
drm/etnaviv: move idle mapping reaping into separate function

The same logic is already used in two different places and now
it will also be needed outside of the compilation unit, so split
it into a separate function.

Cc: stable@vger.kernel.org # 5.19
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
drivers/gpu/drm/etnaviv/etnaviv_mmu.c
drivers/gpu/drm/etnaviv/etnaviv_mmu.h