From 8a2d91e1248e31426ff656c02d3e598f9e117422 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 11 Apr 2019 12:28:30 -0700 Subject: 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. --- src/broadcom/common/v3d_device_info.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/broadcom/common/v3d_device_info.h') 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 -- cgit v1.2.3