Re: [PATCH v4,3/4] media: mediatek: vcodec: move core context from device to each instance

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


Il 25/05/23 03:40, Yunfei Dong ha scritto:
There are so many lat buffer in core context list, some instances
maybe be scheduled for a very long time. Moving the core context to
each instance, it only be used to control lat buffer of each instance.
And the core work queue of each instance is scheduled by system.

Fixes: 2cfca6c1bf80 ("media: mediatek: vcodec: move lat_buf to the top of core list")
Signed-off-by: Yunfei Dong <yunfei.dong@xxxxxxxxxxxx>

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