radv,radeonsi: disable compute queue for BC250

BC250 is known to have non-functional compute queue. Thousands
for Vulkan CTS tests fail, and many games are known to have visual
glitches. RADV_DEBUG=nocompute is the known workaround for all these
issues.

Disable compute queue for this chip in both radv and radeonsi.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33116>
This commit is contained in:
Ivan Avdeev 2025-01-18 16:06:09 -05:00 committed by Marge Bot
parent ff6504d4c0
commit 7271b8ee49
2 changed files with 6 additions and 0 deletions

View file

@ -645,6 +645,11 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
ip_info.ib_size_alignment, 256);
}
/* GFX1013 is known to have broken compute queue */
if (device_info.family == FAMILY_NV && ASICREV_IS(device_info.external_rev, GFX1013)) {
info->ip[AMD_IP_COMPUTE].num_queues = 0;
}
/* Set dword padding minus 1. */
info->ip[AMD_IP_GFX].ib_pad_dw_mask = 0x7;
info->ip[AMD_IP_COMPUTE].ib_pad_dw_mask = 0x7;

View file

@ -522,6 +522,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, unsign
((sscreen->info.family == CHIP_RAVEN ||
sscreen->info.family == CHIP_RAVEN2) &&
!sscreen->info.has_dedicated_vram) ||
!sscreen->info.ip[AMD_IP_COMPUTE].num_queues ||
!(flags & PIPE_CONTEXT_COMPUTE_ONLY);
if (flags & PIPE_CONTEXT_DEBUG)