Re: [PATCH v7, 00/15] Support multi hardware decode using of_platform_populate

From: Andrzej Pietrasiewicz
Date: Wed Oct 13 2021 - 06:55:31 EST


Hi,

W dniu 13.10.2021 o 03:08, yunfei.dong@xxxxxxxxxxxx pisze:
Hi Andrzej,


On Tue, 2021-10-12 at 16:27 +0200, Andrzej Pietrasiewicz wrote:
Hi Yunfei Dong,

W dniu 11.10.2021 o 09:02, Yunfei Dong pisze:
This series adds support for multi hardware decode into mtk-vcodec,
by first
adding use of_platform_populate to manage each hardware
information: interrupt,
clock, register bases and power. Secondly add core thread to deal
with core
hardware message, at the same time, add msg queue for different
hardware
share messages. Lastly, the architecture of different specs are not
the same,
using specs type to separate them.

This series has been tested with both MT8183 and MT8173. Decoding
was working
for both chips.

Patches 1~3 rewrite get register bases and power on/off interface.

Patch 4 add to support multi hardware.

Patch 5 separate video encoder and decoder document

Patches 6-15 add interfaces to support core hardware.

Which tree does the series apply to?

I don't understand your mean clearly. Media tree?

You can get the patches from this link:

https://patchwork.linuxtv.org/project/linux-media/cover/20211011070247.792-1-yunfei.dong@xxxxxxxxxxxx/


Here's what I get:

$ git remote update media_tree
Fetching media_tree

$ git branch
master
* media_tree
mediatek-master

$ git-pw --server https://patchwork.linuxtv.org/api/1.1 --project linux-media series apply 6465 -3
Failed to apply patch:
Applying: media: mtk-vcodec: Get numbers of register bases from DT
Applying: media: mtk-vcodec: Align vcodec wake up interrupt interface
Applying: media: mtk-vcodec: Refactor vcodec pm interface
Applying: media: mtk-vcodec: Manage multi hardware information
error: sha1 information is lacking or useless (drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c).
error: could not build fake ancestor
Patch failed at 0004 media: mtk-vcodec: Manage multi hardware information
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Regards,

Andrzej