#v4l 2016-07-06,Wed

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***jpabq has quit IRC (Ping timeout: 244 seconds) [00:35]
........................................................................... (idle for 6h11mn)
ndufresne has quit IRC (Ping timeout: 240 seconds) [06:46]
.................................................. (idle for 4h7mn)
aballier has quit IRC (Ping timeout: 240 seconds) [10:53]
.................................... (idle for 2h55mn)
pinchartlhverkuil: ping [13:48]
hverkuilpinchartl: pong [14:01]
pinchartlquick question for you
regarding the VSP driver
the hardware has a scaler
in newer SoCs the line buffers for the scaler have been reduced
in such a way that scaling images wider than 256 pixels isn't possible
the CPU needs to partition the image in slices, and run a processing pass for each slice
the hardware has a command buffer mechanism that can be used to prepare processing of all slices
with register values for each run
and then start processing, with an interrupt generated after the last run only
the question is whether slicing should be implemented in the kernel driver
or if we should tell userspace to deal with it
in which case an interrupt would be generated after each slice, with a QBUF/DQBUF cycle
I would push it back to userspace to have less work, if it wasn't for the fact that
- older generations don't have that limitation, so it would change the userspace API for new SoCs
- the hardware has the ability to pipeline slices, but that requires computing register values for all slices in one go, requiring slicing in the driver
any opinion ?
[14:02]
hverkuilI think you answered your own question! If at all possible you want to hide this awful design in the kernel driver.
Do HW and SW engineers ever talk to one another? Apparently not...
[14:07]
pinchartlmaybe, but the SW engineers certainly don't talk to the upstream team in time for the hardware design to be fixed :-)
thanks for your opinion, I'll do that in kernelspace then
[14:10]
.................................... (idle for 2h58mn)
***Renault has left [17:08]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)