Skip to content

Commit

Permalink
[Encode] [PDVT-SH] [VP] Do not fallback to render when render path is…
Browse files Browse the repository at this point in the history
… disabled

8K Preenc DS would fallback to render due to ptl a0 WA. This will cause error because render path not supported by media sfc interface. Skip the fallback for such cases.
  • Loading branch information
MicroYY authored and intel-mediadev committed Jan 22, 2025
1 parent 2ee08d3 commit 2e346a8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,11 @@ MOS_STATUS VpUserFeatureControl::CreateUserSettingForDebug()
#endif
{
// WA ID need be added before code merge.
m_ctrlValDefault.fallbackScalingToRender8K = 1;
// Do not set fallbackScalingToRender8K if render is disabled. This is for internal vesfc usage (e.g., 8k preenc) that should not fallback to render.
if (m_vpPlatformInterface && !m_vpPlatformInterface->IsRenderDisabled())
{
m_ctrlValDefault.fallbackScalingToRender8K = true;
}
}
VP_PUBLIC_NORMALMESSAGE("fallbackScalingToRender8K %d", m_ctrlValDefault.fallbackScalingToRender8K);

Expand Down

0 comments on commit 2e346a8

Please sign in to comment.