drm/etnaviv: move flush_seq increment into etnaviv_iommu_map/unmap
authorLucas Stach <l.stach@pengutronix.de>
Wed, 23 Mar 2022 16:08:24 +0000 (17:08 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 6 Apr 2022 08:01:43 +0000 (10:01 +0200)
commit9247fcca3982a29b04b002f0d30def9ff50740d5
tree78ee0c919d7212d3122abcad444a8cb811620ab7
parent11ad6a1f181f28dccbe47a7fb41f56557573941a
drm/etnaviv: move flush_seq increment into etnaviv_iommu_map/unmap

The flush sequence is a marker that the page tables have been changed
and any affected TLBs need to be flushed. Move the flush_seq increment
a little further down the call stack to place it next to the actual
page table manipulation. Not functional change.

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