mesa/src/broadcom/simulator
Alejandro Piñeiro 7f3e34bcb4 v3d/simulator: wait for cache flushes
Current code just assumes that flushes are instant, as simulator
doesn't really model the caches. So right now we have just an assert
that the flush has been done.

But that can change on the future, so let's change the assert for a
wait.

Note that for the l1t case we are writing on the field TMUWCF. So I
understand that then we need to wait for TMUWCF_SET, even if the
previous code was using L2TFLS_SET.

This also happpens on the kernel side. We need to check if this was a
typo on the kernel side.

v2 (from Juan feedback)
   * Add comment about the TMUWCF vs L2TFLS difference between this
     commit and the kernel.

Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11039>
2021-06-01 12:22:28 +02:00
..
meson.build
v3d_simulator.c broadcom/simulator: change references to VC5 2021-04-29 11:22:12 +02:00
v3d_simulator.h v3d/simulator: add v3d_simulator_get_mem_size 2020-10-13 21:21:33 +00:00
v3d_simulator_wrapper.cpp v3d/simulator: capture hub interrupts 2021-06-01 12:22:28 +02:00
v3d_simulator_wrapper.h v3d/simulator: capture hub interrupts 2021-06-01 12:22:28 +02:00
v3dx_simulator.c v3d/simulator: wait for cache flushes 2021-06-01 12:22:28 +02:00
v3dx_simulator.h