Skip to content

Commit

Permalink
[Decode][DVT] Disable CM Copy by default on ADLS Linux (#6214)
Browse files Browse the repository at this point in the history
There is issue on ADLS Linux when FFmpeg using CM Copy copying from video
memory to system memory. This patch is to by default disable CM Copy and
auto switch to SW copy.

Co-authored-by: Hao Chen <[email protected]>
  • Loading branch information
gfxVPLsdm and chenhao5-Intel authored Dec 7, 2023
1 parent 852fa9f commit 9993e9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _studio/shared/src/libmfx_core_vaapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -868,8 +868,8 @@ bool VAAPIVideoCORE_T<Base>::IsCmSupported()
template <class Base>
bool VAAPIVideoCORE_T<Base>::IsCmCopyEnabledByDefault()
{
// For Linux by default CM copy is ON on RKL/ADL-S
return IsCmSupported() && GetHWType() != MFX_HW_DG1 && GetHWType() != MFX_HW_TGL_LP && GetHWType() != MFX_HW_ADL_P;
// For Linux by default CM copy is ON on RKL
return IsCmSupported() && GetHWType() != MFX_HW_DG1 && GetHWType() != MFX_HW_TGL_LP && GetHWType() != MFX_HW_ADL_P && GetHWType() != MFX_HW_ADL_S;
}

template <class Base>
Expand Down

0 comments on commit 9993e9e

Please sign in to comment.