diff options
author | Eric Anholt <[email protected]> | 2017-12-28 14:00:15 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-12 21:53:26 -0800 |
commit | 954a704da3052028da4129cc7757f5f224ee1ffc (patch) | |
tree | cedeb2a2cd22764b5b1cf9f54a545469f9287d52 /src/gallium/drivers/vc5/vc5_context.h | |
parent | 80c84241af9fbb1e23fe630c5d4fd6d266a74060 (diff) |
broadcom/vc5: Port the RCL setup to V3D4.1.
The TLB load/store path is rebuilt in this version. There is no longer a
single-byte resolved store or the 3-byte extended store. Instead, you get
to always use general loads/stores (which, honestly, was tempting even in
previous versions).
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_context.h')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_context.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_context.h b/src/gallium/drivers/vc5/vc5_context.h index 04ab506f035..0e7cff7482b 100644 --- a/src/gallium/drivers/vc5/vc5_context.h +++ b/src/gallium/drivers/vc5/vc5_context.h @@ -25,6 +25,10 @@ #ifndef VC5_CONTEXT_H #define VC5_CONTEXT_H +#ifdef V3D_VERSION +#include "broadcom/common/v3d_macros.h" +#endif + #include <stdio.h> #include "pipe/p_context.h" @@ -504,7 +508,17 @@ void vc5_get_internal_type_bpp_for_output_format(uint32_t format, void vc5_init_query_functions(struct vc5_context *vc5); void vc5_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info); void vc5_blitter_save(struct vc5_context *vc5); -void vc5_emit_rcl(struct vc5_job *job); +#ifdef v3dX +# include "v3dx_context.h" +#else +# define v3dX(x) v3d33_##x +# include "v3dx_context.h" +# undef v3dX + +# define v3dX(x) v3d41_##x +# include "v3dx_context.h" +# undef v3dX +#endif #endif /* VC5_CONTEXT_H */ |