]> 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)
commit23e0f5a57d0ecec86e1fc82194acd94aede21a46
tree78ebafdc36a6a5cd00a1eed9721c7ddb1651dc21
parentcda7532916f7bc860b36a1806cb8352e6f63dacb
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