agx: model IC dispatch

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31964>
This commit is contained in:
Alyssa Rosenzweig
2024-11-03 17:23:53 -05:00
parent 3c222da6c0
commit db8d467ec6
+5
View File
@@ -126,6 +126,11 @@ agx_estimate_cycles(agx_context *ctx)
if (alu.unit == IC) {
est.ic += alu.tp * 2;
/* In addition to the IC work, IC ops appear to be dispatched along
* with SCIB.
*/
est.f_scib += 1;
} else if (alu.unit) {
est.f_scib += alu.tp;
} else {