Re: [PATCH v4,1/4] media: mediatek: vcodec: Avoid unneeded error logging

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


Il 25/05/23 03:40, Yunfei Dong ha scritto:
Since the LAT decoder works faster than its CORE, getting the trans
buffer may be done only after CORE finishes processing: avoid printing
an error if the decode function returns -EAGAIN, as this means that
the buffer from CORE is not yet available, but will be at a later time.

Also change the log level for calls to vdec_msg_queue_dqbuf() in H264
and VP9 LAT decoder drivers to avoid excessive logging.

Signed-off-by: Yunfei Dong <yunfei.dong@xxxxxxxxxxxx>

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