summaryrefslogtreecommitdiffstats
path: root/src/broadcom/compiler/vir_to_qpu.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-07-16 13:57:03 -0700
committerEric Anholt <[email protected]>2018-07-16 14:39:59 -0700
commit229836fb379eea6fb34c31410203082e822f3213 (patch)
tree6baf1c4087c0350d5f83870780d4a9561df0b79f /src/broadcom/compiler/vir_to_qpu.c
parent2baab6bf2a9c3a1ecfb29dce13d8d721101b6842 (diff)
v3d: Disable shader-db cycle estimates until we sort out TMU estimates.
I keep having to ignore these shader-db changes since I don't trust them, so just disable the reports entirely.
Diffstat (limited to 'src/broadcom/compiler/vir_to_qpu.c')
-rw-r--r--src/broadcom/compiler/vir_to_qpu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/broadcom/compiler/vir_to_qpu.c b/src/broadcom/compiler/vir_to_qpu.c
index 83b1936cbd9..2c0349bb3b7 100644
--- a/src/broadcom/compiler/vir_to_qpu.c
+++ b/src/broadcom/compiler/vir_to_qpu.c
@@ -405,7 +405,10 @@ v3d_vir_to_qpu(struct v3d_compile *c, struct qpu_reg *temp_registers)
c->qpu_inst_count);
}
- if (V3D_DEBUG & V3D_DEBUG_SHADERDB) {
+ /* The QPU cycle estimates are pretty broken (see waddr_latency()), so
+ * don't report them for now.
+ */
+ if (false) {
fprintf(stderr, "SHADER-DB: %s prog %d/%d: %d estimated cycles\n",
vir_get_stage_name(c),
c->program_id, c->variant_id,