X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fvc4%2Fvc4_qpu.h;h=7c4ff1701ca2c7906b3df10c7f091f243a6dfcda;hb=fad158a0e01f4c28851477e6d1eb5c8fd67e226b;hp=866ca5c1300256e28286ff0f3941474ed1f6d5dc;hpb=0ccacfa0170f19e08228e7404e77a9da8f5f633c;p=mesa.git diff --git a/src/gallium/drivers/vc4/vc4_qpu.h b/src/gallium/drivers/vc4/vc4_qpu.h index 866ca5c1300..7c4ff1701ca 100644 --- a/src/gallium/drivers/vc4/vc4_qpu.h +++ b/src/gallium/drivers/vc4/vc4_qpu.h @@ -116,6 +116,17 @@ qpu_tlbc() return r; } +static inline struct qpu_reg +qpu_tlbc_ms() +{ + struct qpu_reg r = { + QPU_MUX_A, + QPU_W_TLB_COLOR_MS, + }; + + return r; +} + static inline struct qpu_reg qpu_r0(void) { return qpu_rn(0); } static inline struct qpu_reg qpu_r1(void) { return qpu_rn(1); } static inline struct qpu_reg qpu_r2(void) { return qpu_rn(2); }