From 6c059daef08cef656a77a52d5bdc5827f0f1d884 Mon Sep 17 00:00:00 2001 From: Wang_PengX Date: Thu, 14 Sep 2023 17:09:30 +0800 Subject: [PATCH] [VP] fix regkey output issue fix regkey output issue. --- .../common/vp/hal/packet/vp_vebox_cmd_packet_legacy.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/media_driver/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_cmd_packet_legacy.cpp b/media_driver/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_cmd_packet_legacy.cpp index 4315eb0c367..4b4283863ad 100644 --- a/media_driver/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_cmd_packet_legacy.cpp +++ b/media_driver/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_cmd_packet_legacy.cpp @@ -2131,13 +2131,11 @@ MOS_STATUS VpVeboxCmdPacketLegacy::RenderVeboxCmd( if (bMultipipe) { scalability->SetCurrentPipeIndex(inputPipe); - ReportUserSetting(m_userSettingPtr, __MEDIA_USER_FEATURE_VALUE_ENABLE_VEBOX_SCALABILITY_MODE, true, MediaUserSetting::Group::Device); - } - else - { - ReportUserSetting(m_userSettingPtr, __MEDIA_USER_FEATURE_VALUE_ENABLE_VEBOX_SCALABILITY_MODE, false, MediaUserSetting::Group::Device); } + auto report = (VpFeatureReport *)(m_hwInterface->m_reporting); + report->GetFeatures().VeboxScalability = bMultipipe; + MT_LOG2(MT_VP_HAL_RENDER_VE, MT_NORMAL, MT_VP_MHW_VE_SCALABILITY_EN, bMultipipe, MT_VP_MHW_VE_SCALABILITY_USE_SFC, m_IsSfcUsed); return eStatus;