mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
vdec: optimize video latency
PD#156224: reduce sleep time in vdec_core_thread Change-Id: Ie70d1dbaecf0174fa9e6daa52378113165568efe Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
This commit is contained in:
@@ -1939,7 +1939,7 @@ static int vdec_core_thread(void *data)
|
||||
}
|
||||
|
||||
if (!core->active_vdec) {
|
||||
msleep(20);
|
||||
usleep_range(1000,2000);
|
||||
up(&core->sem);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user