Skip to content

Commit

Permalink
[Encode] enable Freq Boost in gen12 remote gaming scenario
Browse files Browse the repository at this point in the history
enable Freq Boost in gen12 when binding with remote gaming scenario info
  • Loading branch information
kezhen-liu authored and intel-mediadev committed Mar 13, 2024
1 parent 3d5a2d3 commit 8068c2e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7783,6 +7783,11 @@ MOS_STATUS CodechalVdencHevcStateG12::SendPrologWithFrameTracking(

CODECHAL_ENCODE_CHK_NULL_RETURN(cmdBuffer);

CODECHAL_ENCODE_CHK_NULL_RETURN(m_hevcSeqParams);

// Set flag bIsMdfLoad in remote gaming scenario to boost GPU frequency for low latency
cmdBuffer->Attributes.bFrequencyBoost = (m_hevcSeqParams->ScenarioInfo == ESCENARIO_REMOTEGAMING);

MOS_GPU_CONTEXT gpuContext = m_osInterface->pfnGetGpuContext(m_osInterface);

if (UseRenderCommandBuffer())
Expand Down

0 comments on commit 8068c2e

Please sign in to comment.