asahi: Add extra CDM barrier bit for G13X

I don't know if we need the other bits yet. I'm assuming the logic here
is the same as we used to use for VDM...

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26614>
This commit is contained in:
Asahi Lina 2023-11-10 14:33:52 +09:00 committed by Alyssa Rosenzweig
parent c20210c643
commit 5a9136a0ef

View file

@ -4104,6 +4104,15 @@ agx_launch(struct agx_batch *batch, const struct pipe_grid_info *info,
cfg.unk_5 = true;
cfg.unk_6 = true;
cfg.unk_8 = true;
// cfg.unk_11 = true;
// cfg.unk_20 = true;
if (dev->params.num_clusters_total > 1) {
// cfg.unk_24 = true;
if (dev->params.gpu_generation == 13) {
cfg.unk_4 = true;
// cfg.unk_26 = true;
}
}
}
out += AGX_CDM_BARRIER_LENGTH;