]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: stop abusing mmu_context as FE running marker
authorLucas Stach <l.stach@pengutronix.de>
Fri, 20 Aug 2021 20:18:25 +0000 (22:18 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 16 Sep 2021 08:35:15 +0000 (10:35 +0200)
commit22518ee1db93a98728260d74d13ed37271faa364
tree78ebafdc36a6a5cd00a1eed9721c7ddb1651dc21
parenteeb523318f5ffb49cb01a35086a37019fdf29319
drm/etnaviv: stop abusing mmu_context as FE running marker

While the DMA frontend can only be active when the MMU context is set, the
reverse isn't necessarily true, as the frontend can be stopped while the
MMU state is kept. Stop treating mmu_context being set as a indication that
the frontend is running and instead add a explicit property.

Cc: stable@vger.kernel.org # 5.4
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Michael Walle <michael@walle.cc>
Tested-by: Marek Vasut <marex@denx.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
drivers/gpu/drm/etnaviv/etnaviv_gpu.h