]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/v3d: Flush the MMU before we supply more memory to the binner
authorMaíra Canal <mcanal@igalia.com>
Mon, 23 Sep 2024 13:55:06 +0000 (10:55 -0300)
committerMaíra Canal <mcanal@igalia.com>
Wed, 25 Sep 2024 11:40:18 +0000 (08:40 -0300)
commitd2fb8811108b2c1285c56f4fba4fff8fe3525593
tree60bd89759fc4b90f663f3329d0fb8af8e61ad6ae
parentcf1becb7f996a0a23ea2c270cf6bb0911ec3ca1a
drm/v3d: Flush the MMU before we supply more memory to the binner

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: 57692c94dcbe ("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
drivers/gpu/drm/v3d/v3d_drv.h
drivers/gpu/drm/v3d/v3d_irq.c
drivers/gpu/drm/v3d/v3d_mmu.c