From 34fc7a2e157c1f55c3a75767548a6cd7363f3fb4 Mon Sep 17 00:00:00 2001 From: Wang_Pingli Date: Fri, 13 Sep 2024 17:47:42 +0800 Subject: [PATCH] [Media Common] [VP] Gpu context trace level GetGpuContext loag level --- media_softlet/agnostic/common/os/mos_gpucontextmgr_next.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media_softlet/agnostic/common/os/mos_gpucontextmgr_next.cpp b/media_softlet/agnostic/common/os/mos_gpucontextmgr_next.cpp index ee4be89921..f403ae52c9 100644 --- a/media_softlet/agnostic/common/os/mos_gpucontextmgr_next.cpp +++ b/media_softlet/agnostic/common/os/mos_gpucontextmgr_next.cpp @@ -220,8 +220,8 @@ GpuContextNext *GpuContextMgrNext::GetGpuContext(GPU_CONTEXT_HANDLE gpuContextHa } else { - MOS_OS_ASSERTMESSAGE("GPU context array is empty or got invalid index, something must be wrong!"); - MT_ERR2(MT_MOS_GPUCXT_GET, MT_MOS_GPUCXT_MGR_PTR, (int64_t)this, MT_MOS_GPUCXT_HANDLE, gpuContextHandle); + MOS_OS_NORMALMESSAGE("Gpu context may have been deleted already!"); + MT_LOG2(MT_MOS_GPUCXT_GET, MT_NORMAL, MT_MOS_GPUCXT_MGR_PTR, (int64_t)this, MT_MOS_GPUCXT_HANDLE, gpuContextHandle); gpuContext = nullptr; } MosUtilities::MosUnlockMutex(m_gpuContextArrayMutex);