Skip to content

Commit

Permalink
[VP] perfect disable secure DN logic
Browse files Browse the repository at this point in the history
perfect the logic of disabling secure DN
  • Loading branch information
jiafengy1 authored and intel-mediadev committed Jul 5, 2023
1 parent 3bf2af3 commit 29fa9fb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ bool SwFilterDnHandler::IsFeatureEnabled(VP_PIPELINE_PARAMS& params, bool isInpu
PVP_MHWINTERFACE hwInterface = m_vpInterface.GetHwInterface();
// secure mode
if (hwInterface->m_osInterface->osCpInterface &&
hwInterface->m_osInterface->osCpInterface->IsHMEnabled())
(hwInterface->m_osInterface->osCpInterface->IsHMEnabled()
|| hwInterface->m_osInterface->osCpInterface->IsIDMEnabled()))
{
VP_PUBLIC_NORMALMESSAGE("Dn is disabled in secure mode.");
return false;
Expand Down

0 comments on commit 29fa9fb

Please sign in to comment.