ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
kevery has joined #linux-rockchip
field^Mop has quit [Ping timeout: 272 seconds]
stikonas has quit [Ping timeout: 252 seconds]
archetech has joined #linux-rockchip
anarsoul|2 has joined #linux-rockchip
anarsoul has quit [Ping timeout: 272 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
buzzmarshall has joined #linux-rockchip
vstehle has quit [Ping timeout: 260 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
kevery1 is now known as kevery
buzzmarshall has quit [Quit: Leaving]
ganbold has joined #linux-rockchip
archetech has quit [Quit: Leaving]
archetech has joined #linux-rockchip
anarsoul|2 is now known as anarsoul
vstehle has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
ganbold has quit [Ping timeout: 240 seconds]
ldevulder_ has joined #linux-rockchip
ldevulder__ has quit [Ping timeout: 268 seconds]
ldevulder_ is now known as ldevulder
matthias_bgg has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
ldevulder has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
leah2 has quit [Ping timeout: 260 seconds]
leah2 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
kevery has quit [Quit: kevery]
field^Mop has joined #linux-rockchip
alpernebbi has joined #linux-rockchip
nsaenz has quit [Quit: Leaving]
nsaenz has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
stikonas has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 258 seconds]
matthias_bgg has joined #linux-rockchip
nsaenz has joined #linux-rockchip
stikonas has quit [Ping timeout: 272 seconds]
nsaenz has quit [Quit: Leaving]
nsaenz has joined #linux-rockchip
nsaenz has quit [Quit: Leaving]
nsaenz has joined #linux-rockchip
sigmaris has quit [Ping timeout: 246 seconds]
sigmaris has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
chewitt has joined #linux-rockchip
sigmaris has quit [Ping timeout: 246 seconds]
tuxd3v has quit [Quit: Leaving]
nsaenz has quit [Quit: Leaving]
nsaenz has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
elektirnis has joined #linux-rockchip
eballetbo has quit [Excess Flood]
eballetbo has joined #linux-rockchip
paulk-leonov has quit [Excess Flood]
paulk-leonov has joined #linux-rockchip
ccaione has quit [Read error: Connection reset by peer]
ccaione has joined #linux-rockchip
stikonas has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 265 seconds]
sigmaris has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
archetech has quit [Ping timeout: 272 seconds]
<Kwiboo> inode: for hantro testing in mainline staging you can use my ffmpeg branch at https://github.com/FFmpeg/FFmpeg/compare/master...Kwiboo:v4l2-request-hwaccel-master, it adds required bits for v4l2 request api decoding, it should work with mpv or kodi-gbm
<inode> cool, thanks Kwiboo
<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> btw, if you are doing testing on rk322x, would you mind testing https://github.com/Kwiboo/linux-rockchip/compare/next-20200108...next-20200108-inno-hdmi-phy on a rk322x, it adds support for all supported HDMI modes and rates on rk3328, and should hopefully also help/imporve on rk322x
<Kwiboo> https://github.com/rockchip-linux/mpp/blob/release/osal/mpp_platform.cpp#L68 <<-- seems to indicate that rk322x share same vpu2 and rkvdec as rk3328 and rk3399, so it should be possible to piggy back on the rk3399 support in hantro driver
<anarsoul> Kwiboo: out of curiosity what's the status of ffmpeg patches? Are they close to being merged?
<Kwiboo> inode: for experimental h264 vpu2 support in hantro driver I have https://github.com/Kwiboo/linux-rockchip/compare/v4l2-5.4-from-5.5-v5.4...v4l2-5.4-work-in-progress-v5.4, it adds support for field encoded decoding and h264 vpu2 support
<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
<anarsoul> which is backwards compatible with 1.0
alpernebbi has quit [Quit: alpernebbi]
<Kwiboo> I do not think there is good support for versioning of v4l2 ctrls, https://lore.kernel.org/linux-media/311a152e-b773-76d6-a17e-86112b583179@xs4all.nl/ <<-- has some actions on what is needed to move drivers/controls out of staging
<inode> Kwiboo: sure no problem, these changes correspond to https://patchwork.kernel.org/project/linux-rockchip/list/?series=225649 ?
<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
<Kwiboo> inode: for rk322x the vop clock rate may need to be raised similar to rk3328 for proper 4k scanout, and I also suspect something like https://github.com/rockchip-linux/kernel/commit/595ad3137e0b4a27fbc9f6a092d71e70a04a01a2 may be needed for some rk322x variants
vicencb has joined #linux-rockchip
lkcl has quit [Ping timeout: 268 seconds]
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 272 seconds]
vicencb has quit [Remote host closed the connection]
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 268 seconds]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-rockchip
field^Mop has quit [Ping timeout: 260 seconds]