On 16/06/14 13:33, Sergei Shtylyov wrote:
Hello.
On 06/15/2014 11:56 PM, Ben Dooks wrote:
Add pinctrl definitions for i2c1 and i2c2 busses on the Lager board
to ensure these are setup correctly at initialisation time. The i2c0
and i2c3 busses are connected to single function pins.
On Wed, Jun 18, 2014 at 08:27:37AM +0100, Ben Dooks wrote:
On 16/06/14 13:33, Sergei Shtylyov wrote:
Hello.
On 06/15/2014 11:56 PM, Ben Dooks wrote:
Add pinctrl definitions for i2c1 and i2c2 busses on the Lager board
to ensure these are setup correctly at initialisation time. The
Mauro Carvalho Chehab wrote:
Let's see the au0828 case:
48 kHz, 2 bytes/sample, 2 channels, 256 maxpacksize, 1 ms URB
interval (bInterval = 1).
In this case, there is 192 bytes per 1ms period.
The device's clock and the bus clock are not synchronized, so there will
be _approximately_
Mauro Carvalho Chehab wrote:
Both xawtv and tvtime use the same code for audio:
http://git.linuxtv.org/cgit.cgi/xawtv3.git/tree/common/alsa_stream.c
There's an algorithm there that gets the period size form both the
capture and the playback cards, trying to find a minimum period that
This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.
Results of the daily build of media_tree:
date: Wed Jun 18 10:38:55 CEST 2014
git branch: test
git hash: 2ac6f6305efef8c10994be48b20723cc70654189
gcc
This type of fence can be used with hardware synchronization for simple
hardware that can block execution until the condition
(dma_buf[offset] - value) = 0 has been met when WAIT_GEQUAL is used,
or (dma_buf[offset] != 0) has been met when WAIT_NONZERO is set.
A software fallback still has to be
Thanks to Fengguang Wu for spotting a missing static cast.
v2:
- Kill unused variable need_shared.
v3:
- Clarify the BUG() in dma_buf_release some more. (Rob Clark)
Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com
---
drivers/base/dma-buf.c | 108
Just to show it's easy.
Android syncpoints can be mapped to a timeline. This removes the need
to maintain a separate api for synchronization. I've left the android
trace events in place, but the core fence events should already be
sufficient for debugging.
v2:
- Call fence_remove_callback in
Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com
Reviewed-by: Rob Clark robdcl...@gmail.com
---
include/linux/reservation.h | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/include/linux/reservation.h b/include/linux/reservation.h
index
The following series implements fence and converts dma-buf and
android sync to use it. Patch 5 and 6 add support for polling
to dma-buf, blocking until all fences are signaled.
Patch 7 and 8 provide some helpers, and allow use of RCU in the
reservation api. The helpers make it easier to convert
Move the list of shared fences to a struct, and return it in
reservation_object_get_list().
Add reservation_object_get_excl to get the exclusive fence.
Add reservation_object_reserve_shared(), which reserves space
in the reservation_object for 1 more shared fence.
This adds 4 more functions to deal with rcu.
reservation_object_get_fences_rcu() will obtain the list of shared
and exclusive fences without obtaining the ww_mutex.
reservation_object_wait_timeout_rcu() will wait on all fences of the
reservation_object, without obtaining the ww_mutex.
A fence can be attached to a buffer which is being filled or consumed
by hw, to allow userspace to pass the buffer without waiting to another
device. For example, userspace can call page_flip ioctl to display the
next frame of graphics after kicking the GPU but while the GPU is still
rendering.
This allows reservation objects to be used in dma-buf. it's required
for implementing polling support on the fences that belong to a dma-buf.
Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com
Acked-by: Mauro Carvalho Chehab m.che...@samsung.com #drivers/media/v4l2-core/
Acked-by:
Hi,
On 06/16/2014 05:00 PM, Antonio Ospite wrote:
Fix a regression introduced in commit
efc29f1764a30808ebf7b3e1d9bfa27b909bf641 (libv4lconvert: Reject too
short source buffer before accessing it).
The old code:
case V4L2_PIX_FMT_Y10BPACK:
...
if (result == 0 src_size
Hi,
On 06/18/2014 01:43 PM, Hans de Goede wrote:
Hi,
On 06/16/2014 05:00 PM, Antonio Ospite wrote:
Fix a regression introduced in commit
efc29f1764a30808ebf7b3e1d9bfa27b909bf641 (libv4lconvert: Reject too
short source buffer before accessing it).
The old code:
case
We offer all purpose loan at 3% interest rate. Contact Us for more details by
Email:santanderfinancegr...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at
Doesn't this produce compiler warnings since the static v4l2_of_parse_*
functions are now never called?
Those functions are inside the #if 0, so the compiler never sees them.
I would patch v4l2-core/Makefile instead to just never compile v4l2-of.o.
Because the final Makefile is generated by
On Wed, 18 Jun 2014 13:46:10 +0200
Hans de Goede hdego...@redhat.com wrote:
Hi,
On 06/18/2014 01:43 PM, Hans de Goede wrote:
Hi,
On 06/16/2014 05:00 PM, Antonio Ospite wrote:
Fix a regression introduced in commit
efc29f1764a30808ebf7b3e1d9bfa27b909bf641 (libv4lconvert: Reject too
Hi,
On 06/18/2014 03:23 PM, Antonio Ospite wrote:
On Wed, 18 Jun 2014 13:46:10 +0200
Hans de Goede hdego...@redhat.com wrote:
Hi,
On 06/18/2014 01:43 PM, Hans de Goede wrote:
Hi,
On 06/16/2014 05:00 PM, Antonio Ospite wrote:
Fix a regression introduced in commit
On Wed, 18 Jun 2014 15:59:13 +0200
Hans de Goede hdego...@redhat.com wrote:
Hi,
On 06/18/2014 03:23 PM, Antonio Ospite wrote:
On Wed, 18 Jun 2014 13:46:10 +0200
Hans de Goede hdego...@redhat.com wrote:
Hi,
On 06/18/2014 01:43 PM, Hans de Goede wrote:
Hi,
On 06/16/2014 05:00
After commits 890676c6 (kbuild: Use relative path when building in the source
tree) and 9da0763b (kbuild: Use relative path when building in a subdir
of the source tree), the $(srctree) variable can be a relative path.
This breaks Documentation/DocBook/media/Makefile, because it tries to
create
On 06/18/14 08:27, Michal Marek wrote:
After commits 890676c6 (kbuild: Use relative path when building in the source
tree) and 9da0763b (kbuild: Use relative path when building in a subdir
of the source tree), the $(srctree) variable can be a relative path.
This breaks
Hi friend. I want to transfer USD5.5Million into your account Contact
me for more details.
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Variable b is not initialized.
Only with a small chance it has random value 0xFF.
Remove if statement based on this value.
Signed-off-by: Heinrich Schuchardt xypron.g...@gmx.de
---
drivers/media/pci/saa7134/saa7134-input.c | 4
1 file changed, 4 deletions(-)
diff --git
The current test to avoid out of bound access to mb[] is insufficient.
For len = 19 non-existent mb[10] will be accessed.
A check in the for loop is insufficient to avoid out of bound access in
dib9000_mbx_send_attr.
Signed-off-by: Heinrich Schuchardt xypron.g...@gmx.de
---
Variable reg is not initialized.
Random values are written to OMAP4 ISS registers if !ctx-eof_enabled.
Signed-off-by: Heinrich Schuchardt xypron.g...@gmx.de
---
drivers/staging/media/omap4iss/iss_csi2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On Wed, Jun 18, 2014 at 3:02 PM, Heinrich Schuchardt xypron.g...@gmx.de wrote:
The current test to avoid out of bound access to mb[] is insufficient.
For len = 19 non-existent mb[10] will be accessed.
A check in the for loop is insufficient to avoid out of bound access in
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote:
+#define CREATE_TRACE_POINTS
+#include trace/events/fence.h
+
+EXPORT_TRACEPOINT_SYMBOL(fence_annotate_wait_on);
+EXPORT_TRACEPOINT_SYMBOL(fence_emit);
Are you really willing to live with these as tracepoints for forever?
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote:
+ * This program is distributed in the hope that it will be useful, but
WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
On Wed, Jun 18, 2014 at 12:37:11PM +0200, Maarten Lankhorst wrote:
Just to show it's easy.
Android syncpoints can be mapped to a timeline. This removes the need
to maintain a separate api for synchronization. I've left the android
trace events in place, but the core fence events should
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote:
A fence can be attached to a buffer which is being filled or consumed
by hw, to allow userspace to pass the buffer without waiting to another
device. For example, userspace can call page_flip ioctl to display the
next frame of
On Wed, Jun 18, 2014 at 9:13 PM, Greg KH gre...@linuxfoundation.org wrote:
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote:
+#define CREATE_TRACE_POINTS
+#include trace/events/fence.h
+
+EXPORT_TRACEPOINT_SYMBOL(fence_annotate_wait_on);
On Wed, Jun 18, 2014 at 9:16 PM, Greg KH gre...@linuxfoundation.org wrote:
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote:
A fence can be attached to a buffer which is being filled or consumed
by hw, to allow userspace to pass the buffer without waiting to another
device.
On Wed, Jun 18, 2014 at 09:23:06PM -0400, Rob Clark wrote:
On Wed, Jun 18, 2014 at 9:13 PM, Greg KH gre...@linuxfoundation.org wrote:
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote:
+#define CREATE_TRACE_POINTS
+#include trace/events/fence.h
+
On 19.06.2014 01:50, Kees Cook wrote:
On Wed, Jun 18, 2014 at 3:02 PM, Heinrich Schuchardt xypron.g...@gmx.de wrote:
The current test to avoid out of bound access to mb[] is insufficient.
For len = 19 non-existent mb[10] will be accessed.
A check in the for loop is insufficient to avoid out of
On Wed, Jun 18, 2014 at 6:41 PM, Heinrich Schuchardt xypron.g...@gmx.de wrote:
On 19.06.2014 01:50, Kees Cook wrote:
On Wed, Jun 18, 2014 at 3:02 PM, Heinrich Schuchardt xypron.g...@gmx.de
wrote:
The current test to avoid out of bound access to mb[] is insufficient.
For len = 19
This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.
Results of the daily build of media_tree:
date: Thu Jun 19 04:00:18 CEST 2014
git branch: test
git hash: 2ac6f6305efef8c10994be48b20723cc70654189
gcc
Hi Greg,
On 19 June 2014 06:55, Rob Clark robdcl...@gmail.com wrote:
On Wed, Jun 18, 2014 at 9:16 PM, Greg KH gre...@linuxfoundation.org wrote:
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote:
A fence can be attached to a buffer which is being filled or consumed
by hw, to
On Thu, Jun 19, 2014 at 09:57:35AM +0530, Sumit Semwal wrote:
Hi Greg,
On 19 June 2014 06:55, Rob Clark robdcl...@gmail.com wrote:
On Wed, Jun 18, 2014 at 9:16 PM, Greg KH gre...@linuxfoundation.org wrote:
On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote:
A fence can be
On 19 June 2014 10:24, Greg KH gre...@linuxfoundation.org wrote:
On Thu, Jun 19, 2014 at 09:57:35AM +0530, Sumit Semwal wrote:
Hi Greg,
Who is going to sign up to maintain this code? (hint, it's not me...)
that would be Sumit (dma-buf tree)..
probably we should move
41 matches
Mail list logo