Hello everyone, (Adding some Hantro developers) On Fri, 9 Oct 2020 at 19:15, Daniel Vetter <daniel@xxxxxxxx> wrote: > > On Fri, Oct 09, 2020 at 07:57:52PM +0800, kuhanh.murugasen.krishnan@xxxxxxxxx wrote: > > From: "Murugasen Krishnan, Kuhanh" <kuhanh.murugasen.krishnan@xxxxxxxxx> > > > > This is a new DRM media codec driver for Intel's Keem Bay SOC which > > integrates the Verisilicon's Hantro Video Processor Unit (VPU) IP. > > The SoC couples an ARM Cortex A53 CPU with an Intel Movidius VPU. > > > > Hantro VPU IP is a series of video decoder and encoder semiconductor IP cores, > > which can be flexibly configured for video surveillance, multimedia consumer > > products, Internet of Things, cloud service products, data centers, aerial > > photography and recorders, thereby providing video transcoding and multi-channel > > HD video encoding and decoding. > > > > Hantro VPU IP consists of Hantro VC8000D for decoder and Hantro VC8000E for encoder. > > Before you guys even start reviewing or discussing this: good news everyone! Verisilicon Hantro VPU support is in mainline since a few releases now. How about you run a quick "git grep hantro -- drivers/" and see for yourself :-) ? Spoiler alert: we currently support G1 core, supporting MPEG-2, H.264, VP8 and some post-processor features. We are working on G2 for HEVC and VP9, and we have patches ready for VC8000D for H264. Given the VPU is stateless, it requires quite a bit of work on the application side. There are implementations in GStreamer (see v4l2codecs plugin), Chromium, and Ffmpeg. Given all the stateless codec drivers depend on the stateless controls APIs, and given this API is still marked as experimental/unstable, the drivers are in staging. Other than this, these drivers are just as good as any, and have been shipped for quite some time now. I expect to move them out of staging soon, just as soon as we clean and stabilize this control API. I will be happy to review patches adding Keem Bay support, to be honest, unsure what that implies, but we'll see. Thanks, Ezequiel