drm/vc4: Flush the caches before the bin jobs, as well.
If the frame samples from a render target that was just written, its cache flush during the binning step may have occurred before the previous frame's RCL was completed. Flush the texture caches again before starting each RCL job to make sure that the sampling of the previous RCL's output is correct. Fixes flickering in the top left of 3DMMES Taiji. Signed-off-by: Eric Anholt <firstname.lastname@example.org> Fixes: ca26d28b ("drm/vc4: improve throughput by pipelining binning and rendering jobs") Link: https://email@example.comReviewed-by: Boris Brezillon <firstname.lastname@example.org>
Showing with 21 additions and 0 deletions