aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_simulator_validate.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-01 17:11:38 -0700
committerEric Anholt <[email protected]>2014-08-11 14:45:31 -0700
commit0bc2aed90fdfcedad501f769cbd2ae61b5a0ecb8 (patch)
treebfaf9f55d2be315a977dcc7c8d2a1b267dd257de /src/gallium/drivers/vc4/vc4_simulator_validate.h
parentb6caa9556c7c1cf9206ac610fb57587ad119d3ab (diff)
vc4: Add a bunch of validation of the binning mode config.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_simulator_validate.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_simulator_validate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate.h b/src/gallium/drivers/vc4/vc4_simulator_validate.h
index 1f3d23f881e..d26f0d6f8c0 100644
--- a/src/gallium/drivers/vc4/vc4_simulator_validate.h
+++ b/src/gallium/drivers/vc4/vc4_simulator_validate.h
@@ -119,6 +119,12 @@ struct exec_info {
/** How many shader state records the validator has seen. */
uint32_t shader_state_count;
+ bool found_tile_binning_mode_config_packet;
+ bool found_start_tile_binning_packet;
+ uint8_t bin_tiles_x, bin_tiles_y;
+ uint32_t tile_alloc_init_block_size;
+ struct drm_gem_cma_object *tile_alloc_bo;
+
/**
* Computed addresses pointing into exec_bo where we start the
* bin thread (ct0) and render thread (ct1).