↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
*** | hverkuil_ changes his alias to hverkuil
ALVAN changes his alias to Guest4553 | [19:45] |
....................... (idle for 1h52mn) | ||
ALVAN changes his alias to Guest21977 | [03:11] | |
.............................................................................. (idle for 6h25mn) | ||
raf_ | Hello! Does anyone know if it is possible to specify a memory range for cma? from the cmdline? | [09:36] |
hverkuil | raf_: see Documentation/kernel-parameters.txt, search for 'cma='
So it has to be set when the kernel is loaded, it can't be changed afterwards. | [09:38] |
raf_ | hverkuil: thank you! do you know of or how this is related to dma_declare_coherent_memory? | [09:43] |
hverkuil | no, I don't. mszyprow probably knows. | [09:45] |
mszyprow | raf_: cma is something completely different from dma_coherent
raf_: but you can define memory regions for both using device tree raf_: what you want to achieve? | [09:46] |
raf_ | mszyprow: I want to specify a memory region for cma | [09:48] |
mszyprow | raf_: global cma region or device specific cma region? | [09:49] |
raf_ | mszyprow: global cma region
but I'd also like to know how to set it up for a device | [09:50] |
mszyprow | raf_: you can set parameters for global cma region with cma= kernel cmd line parameter
raf_: see commit 47f29df7db78ee4fcdb104cf36918d987ddd0278 wrong commit 5ea3b1b2f8ad9162684431ce6188102ca4c64b7a one should really document this some day... device specific cma region can be defined with 'reserved-memory' binding, see Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt you can define cma or dma_coherent region this way in the device driver you only need to call of_reserved_mem_device_init() in the probe() to get this region assigned to the dma-mapping subsystem for the given device this is still not fully finished because there have been no consensus if this should be done automatically, so still there is no code in mainline, which uses it | [09:53] |
raf_ | mszyprow: thank you, so probably it is best to use global cma region for the moment | [10:02] |
mszyprow | raf_: that depends on the use case, but it should be the easiest solution for now | [10:02] |
raf_ | mszyprow: thanks for the explanation | [10:03] |
mszyprow | raf_: if any questions, feel free to ask my by mail, I don't check irc too often... | [10:06] |
raf_ | mszyprow: thank you! | [10:09] |
kalpu | Hi, with an old 3.0 kernel I can use this example http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html to capture an image from my camera (/dev/video0). But with a 3.19 kernel, I do get: imx-ipuv3-camera imx-ipuv3-camera.2: dma_alloc_coherent of size 0 failed Any ideas? Using gstreamer, it just works.
After using gstreamer, I can use the "capture-example" without problems. So it just seems to be an initialization thing I'm missing in capture-example. Any ideas? | [10:19] |
pinchartl | hverkuil: could you have a look at "[PATCH] [media] v4l2-subdev: return -EPIPE instead of -EINVAL in link validate default" when you'll have time ? | [10:22] |
hverkuil | pinchartl: I'll try to find time for that. Need to track down a mutex deadlock I introduced somewhere first :-( | [10:23] |
pinchartl | hverkuil: I know the feeling | [10:25] |
........... (idle for 54mn) | ||
hverkuil | pinchartl: finally found the cause of the deadlock: an uninitialized structure field resulting in a call to mutex_lock with a random mutex pointer. Lovely. | [11:19] |
........................... (idle for 2h12mn) | ||
pinchartl | hverkuil: we all love those
is that even what you were tracking in the first place, or were you trying to debug another issue and got blocked by that one ? for some reasons bugs tend to roam around in herds I wanted to debug an issue with Xilinx drivers yesterday and then spent two hours trying to find out why my kernel wouldn't boot | [13:31] |
...... (idle for 27mn) | ||
hverkuil | pinchartl: no, that was actually what I was tracking. I had done a lot of very nice work on the CEC framework, but when I tried it on real HW this morning it bombed. And it's not even caused by the new code, but AFAICT it's been there for a while now.
But all in all it took me 4-5 hours to track down :-( ah, let me read through the EPIPE mail thread! | [13:59] |
pinchartl | thanks :-) | [14:03] |
hverkuil | BTW, can you look at https://patchwork.linuxtv.org/patch/30245/? I'd like to get Ricardo's patch series merged, but this uvc patch needs your ack. | [14:05] |
pinchartl | ok
I might comment on the API though :-) | [14:13] |
hverkuil | feel free | [14:13] |
.......................................... (idle for 3h28mn) | ||
cristian_c | ao2: hello | [17:41] |
........... (idle for 50mn) | ||
*** | tizbac_ changes his alias to tizbac | [18:31] |
...... (idle for 25mn) | ||
smartin__ changes his alias to smartin | [18:56] | |
....... (idle for 33mn) | ||
ao2 | cristian_c, hi | [19:29] |
cristian_c | ao2: hello | [19:30] |
....... (idle for 31mn) | ||
*** | ao2 has quit IRC (Quit: ao2) | [20:01] |
......... (idle for 40mn) | ||
cristian_c | ao2: I've installed qv4l2, but it doesn't return any inteesting messages, than other applications | [20:41] |
........ (idle for 38mn) | ||
VoidFox | hi
once upon a time i had my raspberry recording from the tv signal.. i was using an raspbmc (rasp(de)bian+ xbmc + tvheadend) but i ended up getting *.ts and *.mkv files from tvheadend.org: The Analog video (V4L) is supported directly up to version 3.4. In recent version, the pipe:// source (in IPTV network) might be used to obtain the MPEG-TS stream generated by ffmpeg/libav from a V4L device.y im guessing the tv signal i receive is mixed analog/digital anyone has a tip on what would be the best solution for me? | [21:19] |
................... (idle for 1h32mn) | ||
sendak.freenode.net | (notice) [freenode-info] please register your nickname...don't forget to auto-identify! http://freenode.net/faq.shtml#nicksetup | [22:59] |
↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |