diff options
author | Eric Anholt <[email protected]> | 2018-08-24 15:45:37 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-09-07 08:11:38 -0700 |
commit | a91b158bd9e1b6bc08f1d5ac350cd8b68e372042 (patch) | |
tree | 037f5db2dcd704de69895912de71e9fb56a21eef /src/gallium/drivers | |
parent | f73f748323ef5a421ffd8fa0f02afd9627e31023 (diff) |
v3d: Fix setup of the VCM cache size.
There were two bugs working together to make things mostly work: I wasn't
dividing the VPM output size available by the size of a batch (vertex),
but I also had the size of the VPM reduced by a factor of 8.
Fixes dEQP-GLES3.functional.vertex_array_objects.all_attributes and it
seems also my intermittent varying failures.
Fixes: 1561e4984eb0 ("v3d: Emit the VCM_CACHE_SIZE packet.")
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/v3d/v3d_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c index 252ebb379f8..efde220c891 100644 --- a/src/gallium/drivers/v3d/v3d_screen.c +++ b/src/gallium/drivers/v3d/v3d_screen.c @@ -438,7 +438,7 @@ v3d_get_device_info(struct v3d_screen *screen) uint32_t minor = (ident1.value >> 0) & 0xf; screen->devinfo.ver = major * 10 + minor; - screen->devinfo.vpm_size = (ident1.value >> 28 & 0xf) * 1024; + screen->devinfo.vpm_size = (ident1.value >> 28 & 0xf) * 8192; switch (screen->devinfo.ver) { case 33: |