summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qpu.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-11-26 17:01:59 -0800
committerEric Anholt <[email protected]>2014-12-01 11:00:23 -0800
commit2d5784c8254b4a0e3e04dd0f1e46ab1eb85612dd (patch)
treef5d5e1efee525c39ed92c71a216f4d21f1601c46 /src/gallium/drivers/vc4/vc4_qpu.h
parentbb19f2c3c4a47c25c2680ad2d94a10f8ee5e70d7 (diff)
vc4: Add another check for invalid TLB scoreboard handling.
This was caught by an assertion in the simulator.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qpu.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu.h b/src/gallium/drivers/vc4/vc4_qpu.h
index 2f371087e64..5f4caab193e 100644
--- a/src/gallium/drivers/vc4/vc4_qpu.h
+++ b/src/gallium/drivers/vc4/vc4_qpu.h
@@ -133,6 +133,9 @@ uint64_t qpu_set_sig(uint64_t inst, uint32_t sig);
uint64_t qpu_set_cond_add(uint64_t inst, uint32_t cond);
uint64_t qpu_set_cond_mul(uint64_t inst, uint32_t cond);
+bool qpu_waddr_is_tlb(uint32_t waddr);
+bool qpu_inst_is_tlb(uint64_t inst);
+
static inline uint64_t
qpu_load_imm_f(struct qpu_reg dst, float val)
{