diff options
author | Eric Anholt <[email protected]> | 2018-08-02 12:23:02 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-08-06 13:03:23 -0700 |
commit | 1561e4984eb03d6946d19b820b83a96bbbd83b98 (patch) | |
tree | 4064ce6b09dca66609e960ccecd698795ffd3df2 /src/broadcom/common | |
parent | 5d49076990f6c34fe9134d879e69af5871818b3b (diff) |
v3d: Emit the VCM_CACHE_SIZE packet.
This is needed to ensure that we don't get blocked waiting for VPM space
with bin/render overlapping.
Cc: "18.2" <[email protected]>
Diffstat (limited to 'src/broadcom/common')
-rw-r--r-- | src/broadcom/common/v3d_device_info.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/broadcom/common/v3d_device_info.h b/src/broadcom/common/v3d_device_info.h index 5685c7a2161..b0a2a02154c 100644 --- a/src/broadcom/common/v3d_device_info.h +++ b/src/broadcom/common/v3d_device_info.h @@ -27,13 +27,14 @@ #include <stdint.h> /** - * Struct for tracking features of the V3D chip. This is where we'll store - * boolean flags for features in a specific version, but for now it's just the - * version + * Struct for tracking features of the V3D chip across driver and compiler. */ struct v3d_device_info { /** Simple V3D version: major * 10 + minor */ uint8_t ver; + + /** Size of the VPM, in bytes. */ + int vpm_size; }; #endif |