radv: allow RADV_PERFTEST=shader_object on GFX9/VEGA10
It's passing VKCTS on VEGA10 but for some reasons RENOIR currently hangs. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27433>
This commit is contained in:

committed by
Marge Bot

parent
afab80bdb6
commit
bead3f2ec3
@@ -1363,7 +1363,8 @@ RADV driver environment variables
|
|||||||
``sam``
|
``sam``
|
||||||
enable optimizations to move more driver internal objects to VRAM.
|
enable optimizations to move more driver internal objects to VRAM.
|
||||||
``shader_object``
|
``shader_object``
|
||||||
enable experimental implementation of VK_EXT_shader_object (GFX6-8)
|
enable experimental implementation of VK_EXT_shader_object (GFX6-8 and
|
||||||
|
VEGA10)
|
||||||
``transfer_queue``
|
``transfer_queue``
|
||||||
enable experimental transfer queue support (GFX9+, not yet spec compliant)
|
enable experimental transfer queue support (GFX9+, not yet spec compliant)
|
||||||
``video_decode``
|
``video_decode``
|
||||||
|
@@ -98,7 +98,8 @@ radv_calibrated_timestamps_enabled(const struct radv_physical_device *pdevice)
|
|||||||
static bool
|
static bool
|
||||||
radv_shader_object_enabled(const struct radv_physical_device *pdevice)
|
radv_shader_object_enabled(const struct radv_physical_device *pdevice)
|
||||||
{
|
{
|
||||||
return pdevice->rad_info.gfx_level < GFX9 && !pdevice->use_llvm &&
|
/* FIXME: Fix GPU hangs on Renoir. */
|
||||||
|
return (pdevice->rad_info.gfx_level < GFX9 || pdevice->rad_info.family == CHIP_VEGA10) && !pdevice->use_llvm &&
|
||||||
pdevice->instance->perftest_flags & RADV_PERFTEST_SHADER_OBJECT;
|
pdevice->instance->perftest_flags & RADV_PERFTEST_SHADER_OBJECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user