555.58.02

(cherry picked from commit 1795a8bb20)
This commit is contained in:
Bernhard Stoeckner
2024-07-01 14:52:22 +02:00
committed by Gaurav Juvekar
parent 171c735e57
commit 5fdf5032fb
8 changed files with 33 additions and 20 deletions

View File

@@ -329,7 +329,14 @@ dispcmnCtrlCmdSystemGetVblankCounter_IMPL
if (IS_GSP_CLIENT(pGpu))
{
pVBCounterParams->verticalBlankCounter = pKernelDisplay->pSharedData->kHeadVblankCount[pKernelHead->PublicId];
if (pVBCounterParams->lowLatencyHint)
{
pVBCounterParams->verticalBlankCounter = kheadGetVblankLowLatencyCounter_HAL(pKernelHead);
}
else
{
pVBCounterParams->verticalBlankCounter = pKernelDisplay->pSharedData->kHeadVblankCount[pKernelHead->PublicId];
}
}
else
{