diff options
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_screen.h')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_screen.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/vc5_screen.h b/src/gallium/drivers/vc5/vc5_screen.h index 28925d791c..52967e6bec 100644 --- a/src/gallium/drivers/vc5/vc5_screen.h +++ b/src/gallium/drivers/vc5/vc5_screen.h @@ -40,6 +40,14 @@ struct vc5_bo; #define VC5_MAX_DRAW_BUFFERS 4 #define VC5_MAX_ATTRIBUTES 16 +/* These are tunable parameters in the HW design, but all the V3D + * implementations agree. + */ +#define VC5_UIFCFG_BANKS 8 +#define VC5_UIFCFG_PAGE_SIZE 4096 +#define VC5_UIFCFG_XOR_VALUE (1 << 4) +#define VC5_PAGE_CACHE_SIZE (VC5_UIFCFG_PAGE_SIZE * VC5_UIFCFG_BANKS) + struct vc5_simulator_file; struct vc5_screen { |