Messages in this thread | | | From | Chen-Yu Tsai <> | Date | Mon, 20 Jun 2022 12:54:12 +0800 | Subject | Re: [PATCH] media: mediatek: vcodec: Initialize decoder parameters after getting dec_capability |
| |
On Sat, Jun 18, 2022 at 3:29 PM Yunfei Dong <yunfei.dong@mediatek.com> wrote: > > Need to get dec_capability from scp first, then initialize decoder > supported format and other parameters according to dec_capability value. > > Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Tested on MT8183 on mainline 20220617-next with the vcodec-dec DT node copied from the ChromeOS v5.10 kernel.
This fixes an issue where the first attempt to enumerate formats on the device right after boot returns an empty list.
| |