broadcom/vc5: Add the new tesselation opcodes in V3D 4.1.

This commit is contained in:
Eric Anholt 2018-01-04 15:41:11 -08:00
parent edbd817c30
commit 267f13dbee
2 changed files with 5 additions and 1 deletions

View File

@ -511,7 +511,10 @@ static const struct opcode_desc add_ops[] = {
{ 187, 187, 1 << 2, 1 << 0, V3D_QPU_A_MSF },
{ 187, 187, 1 << 2, 1 << 1, V3D_QPU_A_REVF },
{ 187, 187, 1 << 2, 1 << 2, V3D_QPU_A_VDWWT },
{ 187, 187, 1 << 2, 1 << 2, V3D_QPU_A_VDWWT, 33 },
{ 187, 187, 1 << 2, 1 << 2, V3D_QPU_A_IID, 40 },
{ 187, 187, 1 << 2, 1 << 3, V3D_QPU_A_SAMPID, 40 },
{ 187, 187, 1 << 2, 1 << 4, V3D_QPU_A_PATCHID, 40 },
{ 187, 187, 1 << 2, 1 << 5, V3D_QPU_A_TMUWT },
{ 187, 187, 1 << 2, 1 << 6, V3D_QPU_A_VPMWT },

View File

@ -80,6 +80,7 @@ static const struct {
/* v4.1 opcodes */
{ 41, 0x3de020c7bdfd200dull, "ldvpmg_in rf7, r2, r2; mov r3, 13" },
{ 41, 0x3de02040f8ff7201ull, "stvpmv 1, rf8 ; mov r1, 1" },
{ 41, 0xd8000e50bb2d3000ull, "sampid rf16 ; fmul rf57.h, r3, r1.l" },
};
static void