Skip to content

Commit

Permalink
[Decode] Fix fast dump can not work issue
Browse files Browse the repository at this point in the history
use fast dump on DG2
  • Loading branch information
chuanli1 authored and intel-mediadev committed Jul 24, 2024
1 parent 19a4399 commit 8fbf3b8
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ MOS_STATUS CodechalDebugInterface::Initialize(

MediaDebugInterface::InitDumpLocation();

m_dumpYUVSurface = m_dumpYUVSurfaceLegacy;

m_dumpBuffer = m_dumpBufferLegacy;
if (m_hwInterface->GetPlatform().eProductFamily < IGFX_DG2)
{
m_dumpYUVSurface = m_dumpYUVSurfaceLegacy;
m_dumpBuffer = m_dumpBufferLegacy;
}

#if (_DEBUG || _RELEASE_INTERNAL)
{
Expand Down

0 comments on commit 8fbf3b8

Please sign in to comment.