diff options
author | Eric Anholt <[email protected]> | 2019-04-11 12:28:30 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-04-12 15:59:31 -0700 |
commit | 8a2d91e1248e31426ff656c02d3e598f9e117422 (patch) | |
tree | 612f30a6394ceaeb540fb89c99548b635a916fd7 /src/broadcom | |
parent | 11ba8a46e4e72e028b77519b3b90af36f4982f26 (diff) |
v3d: Detect the correct number of QPUs and use it to fix the spill size.
We were missing a * 4 even if the particular hardware matched our
assumption.
Diffstat (limited to 'src/broadcom')
-rw-r--r-- | src/broadcom/common/v3d_device_info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/broadcom/common/v3d_device_info.h b/src/broadcom/common/v3d_device_info.h index b0a2a02154c..608b5845444 100644 --- a/src/broadcom/common/v3d_device_info.h +++ b/src/broadcom/common/v3d_device_info.h @@ -35,6 +35,9 @@ struct v3d_device_info { /** Size of the VPM, in bytes. */ int vpm_size; + + /* NSLC * QUPS from the core's IDENT registers. */ + int qpu_count; }; #endif |