diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/av1/packet/decode_av1_packet_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/av1/packet/decode_av1_packet_xe3_lpm_base.cpp index 06236ba49d..3a939306d4 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/av1/packet/decode_av1_packet_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/av1/packet/decode_av1_packet_xe3_lpm_base.cpp @@ -66,6 +66,7 @@ namespace decode DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); } DECODE_CHK_STATUS(PackPictureLevelCmds(*cmdBuffer)); diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/avc/packet/decode_avc_packet_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/avc/packet/decode_avc_packet_xe3_lpm_base.cpp index b1275d3987..e296dfe7a7 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/avc/packet/decode_avc_packet_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/avc/packet/decode_avc_packet_xe3_lpm_base.cpp @@ -62,6 +62,7 @@ MOS_STATUS AvcDecodePktXe3_Lpm_Base::Submit( auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); if (m_avcBasicFeature->m_cencBuf && m_avcBasicFeature->m_cencBuf->checkStatusRequired) { diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_back_end_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_back_end_xe3_lpm_base.cpp index 04234708b5..e5d12044ad 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_back_end_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_back_end_xe3_lpm_base.cpp @@ -83,6 +83,7 @@ MOS_STATUS HevcDecodeBackEndPktXe3_Lpm_Base::Submit( DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); DECODE_CHK_STATUS(m_miItf->AddWatchdogTimerStopCmd(cmdBuffer)); auto scalability = m_hevcPipeline->GetMediaScalability(); diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_front_end_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_front_end_xe3_lpm_base.cpp index ec4cff76b0..27d18a0351 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_front_end_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_front_end_xe3_lpm_base.cpp @@ -66,6 +66,7 @@ MOS_STATUS HevcDecodeFrontEndPktXe3_Lpm_Base::Submit( DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); if (m_hevcPipeline->IsShortFormat()) { diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_long_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_long_xe3_lpm_base.cpp index 2f0114d87e..6b1a489be3 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_long_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_long_xe3_lpm_base.cpp @@ -94,6 +94,7 @@ MOS_STATUS HevcDecodeLongPktXe3_Lpm_Base::Submit( DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); DECODE_CHK_STATUS(PackPictureLevelCmds(*cmdBuffer)); diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_real_tile_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_real_tile_xe3_lpm_base.cpp index 0873212334..d2894cc8ae 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_real_tile_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/hevc/packet/decode_hevc_packet_real_tile_xe3_lpm_base.cpp @@ -81,6 +81,7 @@ MOS_STATUS HevcDecodeRealTilePktXe3_Lpm_Base::Submit( DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); auto scalability = m_hevcPipeline->GetMediaScalability(); DECODE_ASSERT(scalability != nullptr); diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/jpeg/packet/decode_jpeg_packet_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/jpeg/packet/decode_jpeg_packet_xe3_lpm_base.cpp index 57c3cc54e4..df29ccc565 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/jpeg/packet/decode_jpeg_packet_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/jpeg/packet/decode_jpeg_packet_xe3_lpm_base.cpp @@ -61,6 +61,7 @@ MOS_STATUS JpegDecodePktXe3_Lpm_Base::Submit( auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); DECODE_CHK_STATUS(PackPictureLevelCmds(*cmdBuffer)); diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/mpeg2/packet/decode_mpeg2_packet_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/mpeg2/packet/decode_mpeg2_packet_xe3_lpm_base.cpp index 2c54f17f6c..476393b688 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/mpeg2/packet/decode_mpeg2_packet_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/mpeg2/packet/decode_mpeg2_packet_xe3_lpm_base.cpp @@ -61,6 +61,7 @@ namespace decode DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); DECODE_CHK_STATUS(PackPictureLevelCmds(*cmdBuffer)); diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp8/packet/decode_vp8_packet_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp8/packet/decode_vp8_packet_xe3_lpm_base.cpp index 643ed929f1..fb5032659c 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp8/packet/decode_vp8_packet_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp8/packet/decode_vp8_packet_xe3_lpm_base.cpp @@ -61,6 +61,7 @@ namespace decode DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); DECODE_CHK_STATUS(PackPictureLevelCmds(*cmdBuffer)); DECODE_CHK_STATUS(PackSliceLevelCmds(*cmdBuffer)); diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_back_end_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_back_end_xe3_lpm_base.cpp index 6c0be3cf7d..b0b2287989 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_back_end_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_back_end_xe3_lpm_base.cpp @@ -81,6 +81,7 @@ MOS_STATUS Vp9DecodeBackEndPktXe3_Lpm_Base::Submit( DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); DECODE_CHK_STATUS(m_miItf->AddWatchdogTimerStopCmd(cmdBuffer)); auto scalability = m_vp9Pipeline->GetMediaScalability(); diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_front_end_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_front_end_xe3_lpm_base.cpp index dd4b346d61..54e1669425 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_front_end_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_front_end_xe3_lpm_base.cpp @@ -64,6 +64,7 @@ MOS_STATUS Vp9DecodeFrontEndPktXe3_Lpm_Base::Submit( DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); DECODE_CHK_STATUS(PackPictureLevelCmds(*cmdBuffer)); DECODE_CHK_STATUS(PackSliceLevelCmds(*cmdBuffer)); diff --git a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_single_xe3_lpm_base.cpp b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_single_xe3_lpm_base.cpp index 17160c69d9..e249985d41 100644 --- a/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_single_xe3_lpm_base.cpp +++ b/media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/vp9/packet/decode_vp9_packet_single_xe3_lpm_base.cpp @@ -64,6 +64,7 @@ MOS_STATUS Vp9DecodeSinglePktXe3_Lpm_Base::Submit( DECODE_CHK_NULL(m_hwInterface->GetVdencInterfaceNext()); auto mmioRegisters = m_hwInterface->GetVdencInterfaceNext()->GetMmioRegisters(MHW_VDBOX_NODE_1); HalOcaInterfaceNext::On1stLevelBBStart(*cmdBuffer, (MOS_CONTEXT_HANDLE)m_osInterface->pOsContext, m_osInterface->CurrentGpuContextHandle, m_miItf, *mmioRegisters); + HalOcaInterfaceNext::OnDispatch(*cmdBuffer, *m_osInterface, m_miItf, *m_miItf->GetMmioRegisters()); DECODE_CHK_STATUS(PackPictureLevelCmds(*cmdBuffer)); DECODE_CHK_STATUS(PackSliceLevelCmds(*cmdBuffer));