v3d/simulator: add a cache flush mode enum
authorAlejandro Piñeiro <apinheiro@igalia.com>
Sun, 23 May 2021 21:09:58 +0000 (23:09 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 1 Jun 2021 10:22:28 +0000 (12:22 +0200)
commit9bd8d26969c51916e1cb39e66864f033294b9409
tree3531cbfbbbcc5903a0ca7095ac52401106322f27
parent123c7d7277817287fdce97092678bdc4136bfbb5
v3d/simulator: add a cache flush mode enum

Makes the write to the l2t cache control more readable (without magic
numbers).

Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11039>
src/broadcom/simulator/v3dx_simulator.c