[Media Common] Enable 64-bit compare disable and remove semaphore fix * [Media Common] Enable 64-bit compare disable and remove semaphore fix Changed is64BCompareDisable default from false to true in MI command parameters. Removed fix that forced FtrHwSemaphore64 to 0 when FtrNativeFence was disabled. This allows proper 64-bit hardware semaphore support without artificial restrictions based on native fence availability.
diff --git a/media_softlet/agnostic/common/codec/hal/shared/codec_hw_next.h b/media_softlet/agnostic/common/codec/hal/shared/codec_hw_next.h index 274639f..aa0421a 100644 --- a/media_softlet/agnostic/common/codec/hal/shared/codec_hw_next.h +++ b/media_softlet/agnostic/common/codec/hal/shared/codec_hw_next.h
@@ -854,7 +854,7 @@ // Initialize parameters using helper macro // This macro hardcodes semaphoreToken to 0 and sets other parameters - INIT_MHW_MI_SEMAPHORE_WAIT_64_PARAMS(params, semaMem, semaData, opCode, semaMemOffset); + INIT_MHW_MI_SEMAPHORE_WAIT_64_PARAMS_SCALABILITY(params, semaMem, semaData, opCode, semaMemOffset); eStatus = m_miItf->MHW_ADDCMD_F(MI_SEMAPHORE_WAIT_64)(cmdBuffer); }
diff --git a/media_softlet/agnostic/common/hw/mhw_mi_cmdpar.h b/media_softlet/agnostic/common/hw/mhw_mi_cmdpar.h index f5f4d11..af70d94 100644 --- a/media_softlet/agnostic/common/hw/mhw_mi_cmdpar.h +++ b/media_softlet/agnostic/common/hw/mhw_mi_cmdpar.h
@@ -407,7 +407,7 @@ #ifdef _MEDIA_RESERVED #include "mhw_mi_cmdpar_ext.h" #else -#define INIT_MHW_MI_SEMAPHORE_WAIT_64_PARAMS(params, semaMem, semaData, opCode, semaMemOffset) +#define INIT_MHW_MI_SEMAPHORE_WAIT_64_PARAMS_SCALABILITY(params, semaMem, semaData, opCode, semaMemOffset) #endif #endif // __MHW_MI_CMDPAR_H__