mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 23:40:10 +01:00
radeonsi: disallow compute queues on Raven/Raven2 due to hangs
Fixes: 58b512ddd6 - radeonsi: execute clears at resource allocation using compute instead of gfx
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12310
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33248>
This commit is contained in:
parent
30211d0f4a
commit
3b78dcec05
1 changed files with 7 additions and 1 deletions
|
|
@ -517,7 +517,13 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, unsign
|
|||
return NULL;
|
||||
}
|
||||
|
||||
sctx->has_graphics = sscreen->info.gfx_level == GFX6 || !(flags & PIPE_CONTEXT_COMPUTE_ONLY);
|
||||
sctx->has_graphics = sscreen->info.gfx_level == GFX6 ||
|
||||
/* Compute queues hang on Raven and derivatives, see:
|
||||
* https://gitlab.freedesktop.org/mesa/mesa/-/issues/12310 */
|
||||
((sscreen->info.family == CHIP_RAVEN ||
|
||||
sscreen->info.family == CHIP_RAVEN2) &&
|
||||
!sscreen->info.has_dedicated_vram) ||
|
||||
!(flags & PIPE_CONTEXT_COMPUTE_ONLY);
|
||||
|
||||
if (flags & PIPE_CONTEXT_DEBUG)
|
||||
sscreen->record_llvm_ir = true; /* racy but not critical */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue