<Kwiboo>
build ffmpeg with: --enable-v4l2-request --enable-libdrm --enable-libudev to enable the drm hwaccel
archetech has joined #linux-rockchip
<Kwiboo>
you may need one or two media-tree patch from 5.5 to build if you target 5.4.x
<inode>
Kwiboo: thanks a lot. i realized since i asked yesterday that there is a bunch of rk322x specific initialization that i will need to borrow from develop-4.4's vpu-service first - although i was hopeful at first that riding on rk3288 support alone would have been enough
<Kwiboo>
mainline should not use any vpu-service or mpp, I think it should be rather easy to add rk322x support to the hantro vpu driver, adding support for rk3328 was very easy
<Kwiboo>
anarsoul: we are waiting on a stable uapi for the v4l2 controls needed by stateless decoing, they are all in private kernel headers at the moment (ffmpeg patchset contains a copy of these header files)
<anarsoul>
so it's not stabilized yet? :(
<Kwiboo>
not fully, the v4l2 request api is in stable uapi, but the controls for codec info is in private headers for now, the mpeg2 and h264 ctrls should be rather feature complete for cedrus and hantro needs
archetech has quit [Quit: Konversation terminated!]
<anarsoul>
why not to version it and mark as stable?
<anarsoul>
that's what majority of gpu drivers do
<anarsoul>
e.g. lima is currently at 1.0, but as soon as Qiang merges support for dynamic heap it'll be 1.1
<Kwiboo>
inode: correct, same patches, I am planning on spliting that series into two parts, phy and device-tree+drm, since there is no dependency between them