v3d: Use combined input/output segments.

The HW apparently has some issues (or at least a much more complicated VCM
calculation) with non-combined segments, and the closed source driver also
uses combined I/O.  Until I get the last CTS failure resolved (which does
look plausibly like some VPM stomping), let's use combined I/O too.
This commit is contained in:
Eric Anholt
2018-09-10 08:19:48 -07:00
parent fb9bcf5602
commit 42652ea51e
4 changed files with 41 additions and 5 deletions

View File

@@ -649,6 +649,11 @@ struct v3d_vs_prog_data {
/* Total number of components written, for the shader state record. */
uint32_t vpm_output_size;
/* Set if there should be separate VPM segments for input and output.
* If unset, vpm_input_size will be 0.
*/
bool separate_segments;
/* Value to be programmed in VCM_CACHE_SIZE. */
uint8_t vcm_cache_size;
};