Skip to content

Commit 8068c2e

Browse files
kezhen-liuintel-mediadev
authored andcommitted
[Encode] enable Freq Boost in gen12 remote gaming scenario
enable Freq Boost in gen12 when binding with remote gaming scenario info
1 parent 3d5a2d3 commit 8068c2e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

media_driver/agnostic/gen12/codec/hal/codechal_vdenc_hevc_g12.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -7783,6 +7783,11 @@ MOS_STATUS CodechalVdencHevcStateG12::SendPrologWithFrameTracking(
77837783

77847784
CODECHAL_ENCODE_CHK_NULL_RETURN(cmdBuffer);
77857785

7786+
CODECHAL_ENCODE_CHK_NULL_RETURN(m_hevcSeqParams);
7787+
7788+
// Set flag bIsMdfLoad in remote gaming scenario to boost GPU frequency for low latency
7789+
cmdBuffer->Attributes.bFrequencyBoost = (m_hevcSeqParams->ScenarioInfo == ESCENARIO_REMOTEGAMING);
7790+
77867791
MOS_GPU_CONTEXT gpuContext = m_osInterface->pfnGetGpuContext(m_osInterface);
77877792

77887793
if (UseRenderCommandBuffer())

0 commit comments

Comments
 (0)