diff options
author | Marek Olšák <[email protected]> | 2016-11-29 19:25:03 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-12-01 02:16:51 +0100 |
commit | 72d48fcd8eb5862c72d27e5462c289c5de65396e (patch) | |
tree | c7e9205da4c37e6949fda8605cc0b1cf386cbc32 /src/gallium/drivers/radeonsi/si_compute.c | |
parent | ec36c63b4f417973a6d50d79281f4834682c4555 (diff) |
radeonsi: apply a multi-wave workgroup SPI bug workaround to affected CIK chips
All codepaths are handled except for clover.
Cc: 13.0 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_compute.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index 91f1b0a7420..9d83cb3a736 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -348,6 +348,7 @@ static bool si_switch_compute_shader(struct si_context *sctx, lds_blocks += align(program->local_size, 512) >> 9; } + /* TODO: use si_multiwave_lds_size_workaround */ assert(lds_blocks <= 0xFF); config->rsrc2 &= C_00B84C_LDS_SIZE; |