mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
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: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6279>
(cherry picked from commit e4c6204d65)
This commit is contained in:
parent
2d2ba264e9
commit
6b6a38a8be
2 changed files with 5 additions and 1 deletions
|
|
@ -31,7 +31,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue