drm/v3d: Flush the MMU before we supply more memory to the binner

[ Upstream commit d2fb881110 ]

We must ensure that the MMU is flushed before we supply more memory to
the binner, otherwise we might end up with invalid MMU accesses by the
GPU.

Fixes: 57692c94dc ("drm/v3d: Introduce a new DRM driver for Broadcom V3D V3.x+")
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240923141348.2422499-3-mcanal@igalia.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Maíra Canal 2024-09-23 10:55:06 -03:00 • committed by Greg Kroah-Hartman
commit 86ab3d85b2
3 changed files with 4 additions and 1 deletions