Skip to content
Snippets Groups Projects
Commit 24b70dea authored by Samuel Pitoiset's avatar Samuel Pitoiset Committed by Eric Engestrom
Browse files

radv: limit LATE_ALLOC_GS to prevent a GPU hang on GFX10


Found by inspection, doesn't fix anything known.

Cc: mesa-stable
Signed-off-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <mesa/mesa!6279>
(cherry picked from commit e4c6204d)
parent 32c9d3af
No related branches found
No related tags found
No related merge requests found
......@@ -3199,7 +3199,7 @@
"description": "radv: limit LATE_ALLOC_GS to prevent a GPU hang on GFX10",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": null
},
......@@ -336,6 +336,10 @@ si_emit_graphics(struct radv_device *device,
late_alloc_wave64_gs = 0;
cu_mask_gs = 0xffff;
}
/* Limit LATE_ALLOC_GS for prevent a hang (hw bug). */
if (physical_device->rad_info.chip_class == GFX10)
late_alloc_wave64_gs = MIN2(late_alloc_wave64_gs, 64);
} else {
if (!physical_device->rad_info.use_late_alloc) {
late_alloc_wave64 = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment