]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jan 2023 10:11:57 +0000 (11:11 +0100)
commit409677881af7aef09975b4adaa4acf50ebbdf902
tree858e8b333981be6e21f7c3dc676c09636c5740a7
parentc35b32d61fd4457a04d1e122bfedc26f65846ef5
drm/etnaviv: move idle mapping reaping into separate function

commit 5a40837debaa9dcc71765d32ce1a15be068b6cc2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/etnaviv/etnaviv_mmu.c
drivers/gpu/drm/etnaviv/etnaviv_mmu.h