vlock: fix game low latency fail issue [1/1]

PD#SWPL-137789

Problem:
txhd2 game low latency fail

Solution:
vlock don't run one buffer flow

Verify:
txhd2

Change-Id: Iabd646b72f3118670ae1a9ebcca28ada27503f53
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
This commit is contained in:
Bin.Wang2
2023-08-25 19:29:21 +08:00
committed by Luan Yuan
parent 8e88d8a573
commit 005fbb3c5d
+1 -1
View File
@@ -2869,7 +2869,7 @@ static void vdin_set_one_buffer_mode(struct vdin_dev_s *devp, struct vf_entry *n
/* vrr lock,and game mode 2, enter one buffer mode */
if ((devp->game_mode & VDIN_GAME_MODE_2) &&
devp->dbg_force_one_buffer != 2 &&
(frame_lock_type_vrr_lock() || devp->dbg_force_one_buffer)) {
(frame_lock_type_vrr_lock() && devp->dbg_force_one_buffer)) {
/* all vf will use this phy address of current next_wr_vfe */
if (devp->af_num >= VDIN_CANVAS_MAX_CNT) {
devp->af_num = next_wr_vfe->af_num;