[v10] media: mediatek: vcodec: support stateless AV1 decoder

Xiaoyong Lu (卢小勇) Xiaoyong.Lu at mediatek.com
Tue May 30 10:14:39 UTC 2023


Hi Hans, I have updated v11 patch to fix this. Thanks! best regards xiaoyong Lu On Fri, 2023-05-26 at 14:04 +0200, Hans Verkuil wrote:
External email : Please do not click links or open attachments until you have verified the sender or the content.

On 14/04/2023 10:30, Xiaoyong Lu wrote:

> Add mediatek av1 decoder linux driver which use the stateless API in

> MT8195.

>

> Signed-off-by: Xiaoyong Lu<xiaoyong.lu at mediatek.com>

> Tested-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>

> Reviewed-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>

> Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>

> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>


After rebasing on top of our media staging tree I get these compile errors:


  CC [M]  drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.o

drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c: In function ‘vdec_av1_slice_lat_decode’:

drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2075:46: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’

 2075 |                 vdec_msg_queue_qbuf(&ctx->dev->msg_queue_core_ctx, lat_buf);

      |                                              ^~

drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2114:46: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’

 2114 |                 vdec_msg_queue_qbuf(&ctx->dev->msg_queue_core_ctx, lat_buf);

      |                                              ^~


That's due to the patch "media: mediatek: vcodec: move core context from device

to each instance" that has now been merged and that drops that queue.


Can you rebase v10? This is now the only remaining blocked for the av1 series

to be merged.


Regards,


Hans

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230530/9004e29d/attachment-0001.htm>


More information about the dri-devel mailing list