libv_ has joined #linux-exynos
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-exynos
libv_ has quit [Ping timeout: 260 seconds]
nighty- has joined #linux-exynos
<willmore> yo!
afaerber has quit [Quit: Leaving]
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-exynos
TheSeven has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-exynos
<forkbomb> hey, can i get a wiki account?
mszyprow has joined #linux-exynos
<Wizzup> yes. pm me user and email
libv_ has joined #linux-exynos
libv has quit [Ping timeout: 260 seconds]
libv_ has quit [Ping timeout: 260 seconds]
libv has joined #linux-exynos
forkbomb has quit [Ping timeout: 255 seconds]
forkbomb has joined #linux-exynos
nighty- has quit [Quit: Disappears in a puff of smoke]
<memeka> is there a fix for EXYNOS_IOMMU=y and dmabuf import on DRM/KMS yet?
kxkamil has joined #linux-exynos
<mszyprow> memeka: which hw platform? on most exynos iommu works fine, but there are a few causing problems, which require some more work in the iommu core
<mszyprow> memeka: dmabuf import/export should work with DRM/KMS
<memeka> mszyprow: i'm using an odroid xu4, tried on both kernels 4.9 and 4.14 rc5
<mszyprow> memeka: in case of odroids, it should be fine to enable IOMMU
<mszyprow> memeka: odroid doesn't show any screen from the bootloader, so it is safe to have iommu enabled
<memeka> i'm using gst-launch ... ! v2l2video0dec capture-io-mode = dmabuf ! v4l2video2convert output-io-mode=dmabuf-import capture-io-mode=dmabuf ! kmssink
<mszyprow> although it might reveal some bugs in other drivers
<memeka> this decodes a movie, passing dmabuf to gscaler to convert it to a format that works with kmssink (since kmssink can't do nv21/nv21)
<mszyprow> if you ask for full dmabuf support in mfc driver, the I have this on my todo list...
<memeka> then gscaler passes dmabuf to kmssink
<memeka> so... this works as expected when EXYNOS_IOMMU is disabled
<mszyprow> gscaler should work fine with dmabuf
<memeka> i can play 1080p videos with 8% CPU load
<memeka> but
<memeka> when i enable EXYNOS_IOMMU=y then i can see a rectangle on the screen the size of the video (different shade of black than the screen)
<memeka> but the board locks up
<memeka> i did not connect to the serial console to get the error :)
<memeka> if i use MMAP from gscaler to kmssink => works
<mszyprow> memeka: mail me with the above description and gst cmdline, I have a plan to look into this area soon anyway, so I will check
<memeka> so the issue is dmabuf-import on DRM/KMS only when EXYNOS_IOMMU=y
<mszyprow> memeka: m.szyprowski@samsung.com
<memeka> k i will thanks
<memeka> btw, also dmabuf import on encoder would be nice :P
<memeka> so you can transcode fast :)
<memeka> mszyprow: sent
<memeka> perf seems to be working on 4.14 on xu4 for both A7 and A15 ....
<mszyprow> memeka: if it works, then definitely one should send it to mainline
<mszyprow> memeka: only interrupts property has to be fixed to use proper macros instead of numeric values
<memeka> mszyprow: can you do it? :P
<memeka> mszyprow: also there are a few patches i picked from people that somehow magically seemed to make the USB3 on XU4 work :)
<mszyprow> memeka: well, this is already being handled by Andrzej Pietrasiewicz, see https://www.spinics.net/lists/linux-samsung-soc/msg60571.html & https://www.spinics.net/lists/linux-samsung-soc/msg60858.html
<memeka> yeah 3/5 patches are from him :P
<memeka> i saw #4 was being discussed too
<memeka> w/o it, connecting USB3 hdd would be fine, but booting with the HDD connected would result in a big kernel crash when udev would want to do stuff
<mszyprow> memeka: ok, I will try to check that too, please mail it again, so it will remind me to take a look into that
<mszyprow> memeka: frankly, dwc3/usb3 should not use coherent pool for its memory allocations
<memeka> no idea :P just letting you know what worked :)
<memeka> i think it's the size of the xHCI ring
<memeka> even with 1 usb2 connected (a wifi adapter), initially i was getting some errors when booting
<memeka> some unhandled type of message
<mszyprow> memeka: instead of that patch you can add "coherent_pool=1M" to your kernel command line
<memeka> TRB_HC_EVENT
<memeka> ah cool :) won't send email then, figure you're busy enough :P
<mszyprow> memeka: or "coherent_pool=1m", I don't remember exactly
<mszyprow> memeka: I need to go now, feel free to mail me other issues if there are such
mszyprow has quit [Ping timeout: 248 seconds]
wwilly has joined #linux-exynos
Vasco_O is now known as Vasco
wwilly_ has joined #linux-exynos
wwilly has quit [Ping timeout: 240 seconds]
willmore has quit [Ping timeout: 248 seconds]
willmore has joined #linux-exynos
kxkamil has quit [Quit: Leaving]
nashpa has quit [Quit: Going away]
nashpa has joined #linux-exynos
Vasco is now known as Vasco_O
kloczek_ has joined #linux-exynos
kloczek has quit [Ping timeout: 260 seconds]
kloczek_ is now known as kloczek