Re: [PATCH v4,2/4] media: mediatek: vcodec: using decoder status instead of core work count

From: AngeloGioacchino Del Regno
Date: Thu May 25 2023 - 04:12:11 EST


Il 25/05/23 03:40, Yunfei Dong ha scritto:
Adding the definition of decoder status to separate different decoder
period for core hardware.

core_work_cnt is the number of core work queued to work queue, the control
is very complex, leading to some unreasonable test result.

Using parameter status to indicate whether queue core work to work queue.

Fixes: 2e0ef56d81cb ("media: mediatek: vcodec: making sure queue_work successfully")
Signed-off-by: Yunfei Dong <yunfei.dong@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>