From: Eric Anholt Date: Mon, 16 Jul 2018 20:57:03 +0000 (-0700) Subject: v3d: Disable shader-db cycle estimates until we sort out TMU estimates. X-Git-Tag: upstream/19.0.0~3807 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=229836fb379eea6fb34c31410203082e822f3213;p=platform%2Fupstream%2Fmesa.git 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. --- diff --git a/src/broadcom/compiler/vir_to_qpu.c b/src/broadcom/compiler/vir_to_qpu.c index 83b1936..2c0349b 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,