radv: disable GFX12+ support
It's mostly broken, but 25.0+ should be good enough. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33113>
This commit is contained in:

committed by
Marge Bot

parent
be24b60662
commit
01df20446e
@@ -21,12 +21,25 @@
|
||||
#include "vk_drm_syncobj.h"
|
||||
#include "xf86drm.h"
|
||||
|
||||
static bool
|
||||
radv_is_gpu_supported(const struct radeon_info *info)
|
||||
{
|
||||
/* GFX12 isn't supported. */
|
||||
if (info->gfx_level >= GFX12)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
do_winsys_init(struct radv_amdgpu_winsys *ws, int fd)
|
||||
{
|
||||
if (!ac_query_gpu_info(fd, ws->dev, &ws->info, true))
|
||||
return false;
|
||||
|
||||
if (!radv_is_gpu_supported(&ws->info))
|
||||
return false;
|
||||
|
||||
/*
|
||||
* Override the max submits on video queues.
|
||||
* If you submit multiple session contexts in the same IB sequence the
|
||||
|
Reference in New Issue
Block a user