<mmind00>
Ke: there is a v4l mem2mem driver for the rga block in the mainline kernel
<Ke>
what does it do, mem to mem dma?
<Ke>
with blitting strides and whatnot?
<mmind00>
"This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator. Rockchip RGA is a separate 2D raster graphic acceleration unit. It accelerates 2D graphics operations, such as point/line drawing, image scaling, rotation, BitBLT, alpha blending and image blur/sharpness"
<mmind00>
from the drivers/media/platform/Kconfig :-)
<Ke>
thanks
<Ke>
sound like Keanu Reeves, why am I not using it?
<Ke>
is it just because I'm stupid, or is the hw useless?
<Ke>
or is it just that contemporary desktop has been designed so that such a unit can't be used easily
<mmind00>
Ke: neither I think ... the rga block seems to have specific issues that makes it of lower use for general 2d ... which is why they moved it to the v4l parts, where it seems to be of better use
<Ke>
ie. there should be a video player plugin or something, that uses it?
<mmind00>
I really don't know ... my knowledge stops at "it is in the kernel" :-)
<mmind00>
from the change history of the rga code, it looks like ezequielg did some work in it recently
<Ke>
=o)
<Ke>
did you btw. check, will there be any disasters in linux-4.19?
<mmind00>
Ke: at least with the torvalds tree from monday my rk3399-gru-scarlet did still boot
<mmind00>
Ke: but I'm not testing every merge ... instead I'll do a bigger test once the merge-window is closed
<Ke>
sure
<Ke>
planning to do the same
ShapeShifter499 has quit [Quit: ZNC 1.7.1 - https://znc.in]
ShapeShifter499 has joined #linux-rockchip
hunderteins has quit [Quit: TinyIRC 1.1]
cnxsoft has quit [Quit: cnxsoft]
JohnDoe_71Rus has joined #linux-rockchip
LargePrime has joined #linux-rockchip
hanetzer has quit [Ping timeout: 260 seconds]
vicencb has quit [Quit: Leaving.]
hanetzer has joined #linux-rockchip
vagrantc has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
anarsoul|2 has joined #linux-rockchip
leah2 has quit [Ping timeout: 272 seconds]
<ezequielg>
mmind00: Ke: I happen to be working on Rockchip, and the RGA driver was just some mem2mem driver I used to learn mem2mem.
<ezequielg>
i mean, the board was already on my desk, so figured it was easy to get it to work.
<ezequielg>
turned out it was broken :)
<ezequielg>
but it should be working now
matthias_bgg has quit [Ping timeout: 256 seconds]
<ezequielg>
Ke: what you trying to do? it should scaling of YUV buffers, if that's what you need.
<ezequielg>
and format conversion.
<Ke>
scaling, yes
<ezequielg>
there are some ops that are not implemented, but they should be easy.
<ezequielg>
I am not aware of any real world users tbh
<Ke>
right now I was firstly interested of userland software for this
<Ke>
I hear kodi does things like this
<Ke>
right now it's known that rescale is an issue on rk3399 with libre sw
<ezequielg>
can you elaborate?
<ezequielg>
I am not too familiar with user side, so I'm always interested.
<Ke>
I can assure I know even less, I just know that perf shows that rescale is the expensive thing to do without hw accel
<ezequielg>
right
<ezequielg>
I wonder how viable it is to take advantage of the rga v4l driver
<Ke>
Kevin has nice big screen, but not much more computing power, if you remove the blobs
<ezequielg>
yeah
<ezequielg>
I am doing some builds on my rk3399 ficus board and lord it takes time
<Ke>
I mostly just build the kernels, it's ok for that
leah2 has joined #linux-rockchip
<Ke>
tbh. I was thinking of hacking a rescale algo that is far more brutal to overcome the problem
<Ke>
like just 1:1 mapping
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #linux-rockchip
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
hanetzer has quit [Ping timeout: 276 seconds]
return0xe has quit [Read error: Connection reset by peer]