File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
media_softlet/agnostic/common/os Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -518,13 +518,17 @@ void MosUtilDebug::MosMessageInit(MediaUserSettingSharedPtr userSettingPtr)
518518
519519 if (MosUtilities::m_mosUltFlag && (*MosUtilities::m_mosUltFlag))
520520 {
521- MosSetCompMessageLevelAll (MOS_MESSAGE_LVL_DISABLED);
522- MosSetCompMessageLevel (MOS_COMPONENT_OS, MOS_MESSAGE_LVL_CRITICAL);
523- MosSetCompMessageLevel (MOS_COMPONENT_VP, MOS_MESSAGE_LVL_CRITICAL);
521+ // set all msg level
522+ MosSetCompMessageLevelAll (MOS_MESSAGE_LVL_CRITICAL);
524523 m_mosMsgParams.bUseOutputDebugString = 1 ;
525- m_mosMsgParams.components [MOS_COMPONENT_OS].bBySubComponent = 0 ;
526- MosCompAssertEnableDisable (MOS_COMPONENT_CM, 0 );
527- MosCompAssertEnableDisable (MOS_COMPONENT_VP, 1 );
524+
525+ for (int compID = MOS_COMPONENT_OS; compID < MOS_COMPONENT_COUNT; compID++)
526+ {
527+ // set all comp's bBySubComponent to 1
528+ m_mosMsgParams.components [compID].bBySubComponent = 1 ;
529+ // assert all enable
530+ m_mosMsgParams.components [compID].component .bAssertEnabled = 1 ;
531+ }
528532 }
529533
530534 MosHLTInit (userSettingPtr);
You can’t perform that action at this time.
0 commit comments