asahi: Enable explicit coherency for G14D (multi-die)

It turns out we do need this explicit coherency dance for G14,
but only on G14D.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
This commit is contained in:
Asahi Lina 2023-08-09 11:13:39 +00:00 committed by Marge Bot
parent d6ee12a4d7
commit c1e2200b70

View file

@ -1621,8 +1621,9 @@ agx_compile_variant(struct agx_device *dev, struct agx_uncompiled_shader *so,
}
struct agx_shader_key base_key = {
.needs_g13x_coherency =
dev->params.gpu_generation == 13 && dev->params.num_clusters_total > 1,
.needs_g13x_coherency = (dev->params.gpu_generation == 13 &&
dev->params.num_clusters_total > 1) ||
dev->params.num_dies > 1,
};
if (nir->info.stage == MESA_SHADER_FRAGMENT)