nighty- has joined #linux-exynos
<memeka> what is exynos vidi?
genii has quit [Remote host closed the connection]
PabloPL has joined #linux-exynos
<ahajda> vidi is a kind of virtual card, it has nothing to do with Exynos :)
<PabloPL> On Goni (s5pv210), is uboot signed ? I'm curious because on i9000 soc is checking SECKEY.
<forkbomb> afaik you need some signed payload that will execute unsigned code
<forkbomb> on exynos4412 it's called the bl1
<PabloPL> Yes, it can be found over network. So maybe it's possible to replace all boot loaders with uboot
<memeka> anyone here is familiar with IPP (v2) ?
<forkbomb> PabloPL: only on SoCs where you can find such a BL1
<PabloPL> forkbomb: Yes, i was thinking about Aries based phones (s5pv210)
<forkbomb> ah, right
<forkbomb> then yeah, it should be doable
<memeka> anyone here is familiar with IPP (v2) ?
PabloPL has quit [Quit: PabloPL]
<memeka> or ipp v1? :)
<ahajda> both a little bit
<memeka> ahajda: you have 5 mins?
<ahajda> yes, but do not expect too much :)
<memeka> ahajda: is it possible to convert from a pixel format to another, and have everything sent out to display?
<ahajda> with ipp v2, you should do it in 2 steps
<ahajda> ipp v2 is only mem 2 mem
<memeka> ippv1 can do it in 1 step?
<ahajda> theroretically, but it never worked and never was completely implemented
<memeka> ahajda: this is what i'm thinking:
<ahajda> I am working now on patches for Exynos5433 enabling this functionality
<memeka> exynos5 drm has 2 planes: primary, and cursor. exynos4 has a 3rd plane, VideoProcessor
<memeka> the primary and secondary planes support only RGB
<memeka> the VP in exynos4 supports NV12/21
<memeka> i want NV12/21 for exynos5 DRM too (exynos5422)
<memeka> so i was thinking this:
<memeka> advertise NV12/21 support, then catch when NV12/21 is coming in, and send it via IPP for conversion to RGB
<memeka> to gscaler
<javier__> memeka: can't you just use the v4l2 gscaler m2m driver? with dma-buf you should have zero-copy AFAIK
<memeka> case DRM_FORMAT_NV12: {send to GScaler via IPP}
<memeka> javier__: i am thinking of DRMPRIME
<ahajda> gscaler has local path to fimd/decon/mixer, but according to some logs from android I have found it was too fragile to be usable
<memeka> javier__: e.g. in gstreamer i can do MFC -> GSC -> DRM yes
<ahajda> yes, at the moment you can use mem2mem solution, preferably ipp v2
<memeka> but ideally DRM would advertise NV12 directly
<memeka> and use gscaler under the hood
<javier__> memeka: agreed, but there isn't support in the DRM driver and the m2m driver is there and AFAICT is quite stable
<memeka> so you can do MFC -> DRM/KMS and call gscaler by itself
<ahajda> or try to dig in android sources to implement local pipe
<memeka> javier__: isn't it possible to pass buffers to gsc in drm driver, and display the result from gsc?
<ahajda> gscaler under the hood was rejected if I remember correctly
<memeka> ahajda: i have no idea where to dig, neither do i have the tech specs of the soc
<javier__> memeka: AFAIK it is, my point is that a) that needs to be implemented and b) I'm not sure if there will be a lot of performance gain
<ahajda> btw, which soc do you mean exactly?
<ahajda> 5250?
<memeka> 5422 (odroid xu4)
<javier__> s/performance/latency
<memeka> javier__: playing 1080p video to Gscaler -> DRM = 30% CPU, using mali shaders for conversion to RGB = 70% CPU
<memeka> javier__: and it would be nice to make all the software using DRMPRIME working
<javier__> memeka: in fact, I see a drivers/gpu/drm/exynos/exynos_drm_gsc.c
<javier__> which seems to support DRM_FORMAT_NV21 / DRM_FORMAT_NV12
<memeka> it's not that *i can't get gsc + drm working* .... is that *i can't get it working in existing software* :)
<javier__> memeka: got it
<memeka> javier__: yes, it supports -> but mixer does not support
<javier__> memeka: ah, I see
<memeka> so how to call use exynos_drm_gsc.c from mixer? :D
<javier__> memeka: right, I see your problem now
<memeka> if gsc could have a direct path to output, i could send the buffers from mixer to exynos_drm_gsc.c and that's it
<memeka> i think
<memeka> as in, create an overlay plane in mixer that supports NV12/21 and all it does is send stuff to GSC .... (if GSC could output)
<memeka> IPP is supposed to be exposed to userspace, but there isn't any issue using it directly from kernelspace right?
<ahajda> and this (direct path, which physically exists) is on my todo, I have failed to make it working on 5250, it works on 5433, so probably next step will be 5422
<memeka> ahajda: can i see the code for 5433?
<ahajda> memeka: I thnk mszyprowski proposed patches for it and it was rejected
<memeka> ahajda: if you work on 5422 i am the first to test :)
<memeka> ahajda: link?
<memeka> i am ok with out of tree stuff :)
<memeka> i wanna see stuff working more than i wanna see them mainlined :)
<ahajda> At the moment I work on 5433, 5422 will be next
<ahajda> If I will have some PoC I will send you patches
<memeka> ahajda: is there anything on linux-samsung-soc ? (for 5433?)
<ahajda> nope, but if you are interested in I can send it to you
<memeka> ahajda: please do
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-exynos
aalm has quit [Ping timeout: 245 seconds]
nighty-- has joined #linux-exynos
Ultrasauce has quit [Ping timeout: 276 seconds]
genii has joined #linux-exynos
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-exynos
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-exynos
afaerber has quit [Quit: Leaving]
ahajda has quit [Ping timeout: 240 seconds]
aalm has joined #linux-exynos
ahajda has joined #linux-exynos
afaerber has joined #linux-exynos
<willmore> memeka, you're over your 5 minutes. :)
Vasco_O is now known as Vasco
afaerber has quit [Quit: Leaving]
snawrocki has quit [Quit: Leaving]
LiquidAcid has joined #linux-exynos
Vasco is now known as Vasco_O
LiquidAcid has quit [Quit: Leaving]
Wizzup has quit [Quit: reboot]
Wizzup has joined #linux-exynos
<memeka> willmore: am I?
Wizzup has quit [Quit: leaving]
Wizzup has joined #linux-exynos
afaerber has joined #linux-exynos
Ultrasauce has joined #linux-exynos
<willmore> Way over. :)
nighty-- has quit [Quit: Disappears in a puff of smoke]