radv: disable radv_disable_hiz_his_gfx12 for Mafia Definition Edition
This should be properly fixed now. Also remove this drirc option which should no longer be needed. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36174>
This commit is contained in:
committed by
Marge Bot
parent
ec09ac1501
commit
b00b8c763b
@@ -199,7 +199,6 @@ static const driOptionDescription radv_dri_options[] = {
|
||||
DRI_CONF_RADV_APP_LAYER()
|
||||
DRI_CONF_RADV_EMULATE_RT(false)
|
||||
DRI_CONF_RADV_ENABLE_FLOAT16_GFX8(false)
|
||||
DRI_CONF_RADV_DISABLE_HIZ_HIS_GFX12(false)
|
||||
DRI_CONF_RADV_COOPERATIVE_MATRIX2_NV(false)
|
||||
DRI_CONF_SECTION_END
|
||||
};
|
||||
@@ -214,7 +213,6 @@ radv_init_dri_debug_options(struct radv_instance *instance)
|
||||
drirc->debug.disable_dcc_mips = driQueryOptionb(&drirc->options, "radv_disable_dcc_mips");
|
||||
drirc->debug.disable_dcc_stores = driQueryOptionb(&drirc->options, "radv_disable_dcc_stores");
|
||||
drirc->debug.disable_depth_storage = driQueryOptionb(&drirc->options, "radv_disable_depth_storage");
|
||||
drirc->debug.disable_hiz_his_gfx12 = driQueryOptionb(&drirc->options, "radv_disable_hiz_his_gfx12");
|
||||
drirc->debug.disable_shrink_image_store = driQueryOptionb(&drirc->options, "radv_disable_shrink_image_store");
|
||||
drirc->debug.disable_sinking_load_input_fs = driQueryOptionb(&drirc->options, "radv_disable_sinking_load_input_fs");
|
||||
drirc->debug.disable_tc_compat_htile_in_general =
|
||||
|
||||
@@ -43,7 +43,6 @@ struct radv_drirc {
|
||||
bool disable_dcc_mips;
|
||||
bool disable_dcc_stores;
|
||||
bool disable_depth_storage;
|
||||
bool disable_hiz_his_gfx12;
|
||||
bool disable_shrink_image_store;
|
||||
bool disable_sinking_load_input_fs;
|
||||
bool disable_tc_compat_htile_in_general;
|
||||
|
||||
@@ -2309,8 +2309,6 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
|
||||
pdev->use_fmask = pdev->info.gfx_level < GFX11 && !(instance->debug_flags & RADV_DEBUG_NO_FMASK);
|
||||
|
||||
pdev->use_hiz = !(instance->debug_flags & RADV_DEBUG_NO_HIZ);
|
||||
if (pdev->info.gfx_level == GFX12 && instance->drirc.debug.disable_hiz_his_gfx12)
|
||||
pdev->use_hiz = false;
|
||||
|
||||
if (pdev->info.gfx_level == GFX12) {
|
||||
const char *gfx12_hiz_wa_str = instance->drirc.performance.gfx12_hiz_wa;
|
||||
|
||||
@@ -180,10 +180,6 @@ Application bugs worked around in this file:
|
||||
<option name="radv_disable_dcc" value="true" />
|
||||
</application>
|
||||
|
||||
<application name="Mafia Definitive Edition" application_name_match="mafiadefinitiveedition.exe">
|
||||
<option name="radv_disable_hiz_his_gfx12" value="true" />
|
||||
</application>
|
||||
|
||||
<application name="GPUScore: Breaking Limit" application_name_match="GPUScoreVulkan">
|
||||
<option name="radv_zero_vram" value="true" />
|
||||
</application>
|
||||
|
||||
@@ -788,10 +788,6 @@
|
||||
DRI_CONF_OPT_B(radv_enable_float16_gfx8, def, \
|
||||
"Expose float16 on GFX8, where it's supported but usually not beneficial.")
|
||||
|
||||
#define DRI_CONF_RADV_DISABLE_HIZ_HIS_GFX12(def) \
|
||||
DRI_CONF_OPT_B(radv_disable_hiz_his_gfx12, def, \
|
||||
"Disable HiZ/HiS on GFX12 (RDNA4) to workaround a hw bug that causes random GPU hangs")
|
||||
|
||||
#define DRI_CONF_RADV_COOPERATIVE_MATRIX2_NV(def) \
|
||||
DRI_CONF_OPT_B(radv_cooperative_matrix2_nv, def, \
|
||||
"Expose VK_NV_cooperative_matrix2 on supported hardware.")
|
||||
|
||||
Reference in New Issue
Block a user