Skip to content

freedreno,tu/a7xx: Add PC_TESS_PARAM_SIZE and PC_TESS_FACTOR_SIZE

What does this MR do and why?

A750 adds explicit definition of PC_TESS_PARAM_SIZE and PC_TESS_FACTOR_SIZE, probably in order to to correctly overlap execution of several draws.

Note that blob adds a bit more space ({0x10, 0x20, 0x30, 0x40} bytes) to PC_TESS_FACTOR_SIZE than we are, but the purpose of this additional space is unknown.

Emitting these regs on whole A7XX seem to be fine - A740 doesn't complain.

Fixes GPU faults in Witcher 3.

Merge request reports