This patch adds support for flipping the image horizontally and vertically.
Signed-off-by: Sachin Kamat
---
drivers/media/video/s5p-g2d/g2d-hw.c |5 +
drivers/media/video/s5p-g2d/g2d.c| 25 -
drivers/media/video/s5p-g2d/g2d.h|3 +++
3 files changed,
Hi Laurent, Sylwester and Kamil,
Thank you for your comments and suggestions.
I will re-send the patch with the following 2 changes:
1. Error checking done only once at the end of the init call.
2. Modification in switch case as suggested by Kamil.
Regards
Sachin
On 30 January 2012 19:09, Kamil
Hi Sylwester,
On Sat, Jan 28, 2012 at 06:01:59PM +0100, Sylwester Nawrocki wrote:
> On 01/04/2012 10:07 PM, Sakari Ailus wrote:
> > On Fri, Dec 30, 2011 at 12:18:40PM +0100, Sylwester Nawrocki wrote:
> >> Thus we would three levels of controls for camera,
> >> 1) image source class (lowest possi
Fixed handling of 'radio' module parameter from module_param_array
to module_param_named to fix these compiler warnings in cx18-driver.c:
In function ‘__check_radio’:
113:1: warning: return from incompatible pointer type [enabled by default]
At top level:
113:1: warning: initialization from incomp
Fix for some -Wuninitialized compiler warnings.
Signed-off-by: Danny Kukawka
---
drivers/media/common/tuners/max2165.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/media/common/tuners/max2165.c
b/drivers/media/common/tuners/max2165.c
index cb2c98f..ba
Hi Daniel,
On Sun, Jan 29, 2012 at 02:03:40PM +0100, Daniel Vetter wrote:
> On Sun, Jan 29, 2012 at 01:03:39PM +0200, Sakari Ailus wrote:
> > Daniel Vetter wrote:
> > > On Thu, Jan 26, 2012 at 01:28:16AM +0200, Sakari Ailus wrote:
> > >> Why you "should not hang onto mappings forever"? This is cur
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:Mon Jan 30 19:00:18 CET 2012
git hash:59b30294e14fa6a370fdd2bc2921cca1f977ef16
gcc version: i686-linux-gcc (GCC
Hi All,
There's been a lot of proof-of-concept patch series posted recently. I
think it's great, but I would just like to suggest the RFC tag is used
in the topic of such patches. I feel this would be helpful not only
for Mauro, but for all of us.
Thanks!
Pawel
--
To unsubscribe from this list: sen
On 2012-01-20 05:19, Laurent Pinchart wrote:
Hi Enrico,
On Thursday 19 January 2012 15:17:57 Enrico wrote:
On Thu, Jan 19, 2012 at 2:52 PM, Gary Thomas wrote:
On 2012-01-19 06:35, Gary Thomas wrote:
My camera init code is attached. In the previous kernel, the I2C bus was
probed implicitly wh
On Mon, Jan 30, 2012 at 03:44:20PM +0100, Laurent Pinchart wrote:
> Hi Daniel,
>
> On Tuesday 24 January 2012 14:03:22 Daniel Vetter wrote:
> > On Mon, Jan 23, 2012 at 11:54:20AM +0100, Laurent Pinchart wrote:
> > > On Monday 23 January 2012 11:35:01 Daniel Vetter wrote:
> > > > See my other mail,
On Mon, Jan 30, 2012 at 04:41:22PM +0100, Michal Nazarewicz wrote:
> On Mon, 30 Jan 2012 12:15:22 +0100, Mel Gorman wrote:
>
> >On Thu, Jan 26, 2012 at 10:00:44AM +0100, Marek Szyprowski wrote:
> >>From: Michal Nazarewicz
> >>@@ -139,3 +139,27 @@ int test_pages_isolated(unsigned long start_pfn,
On Mon, 30 Jan 2012 14:25:12 +0100, Mel Gorman wrote:
I reviewed the core MM changes and I've acked most of them so the
next release should have a few acks where you expect them. I did not
add a reviewed-by because I did not build and test the thing.
Thanks!
I've either replied to your commen
On Mon, 30 Jan 2012 12:15:22 +0100, Mel Gorman wrote:
On Thu, Jan 26, 2012 at 10:00:44AM +0100, Marek Szyprowski wrote:
From: Michal Nazarewicz
@@ -139,3 +139,27 @@ int test_pages_isolated(unsigned long start_pfn, unsigned
long end_pfn)
spin_unlock_irqrestore(&zone->lock, flags);
On Mon, Jan 30, 2012 at 02:06:50PM +0100, Michal Nazarewicz wrote:
> >>@@ -1017,11 +1049,14 @@ __rmqueue_fallback(struct zone *zone, int order,
> >>int start_migratetype)
> >>rmv_page_order(page);
> >>
> >>/* Take ownership for orders >= pageblock_order */
>
Hi Daniel,
On Tuesday 24 January 2012 14:03:22 Daniel Vetter wrote:
> On Mon, Jan 23, 2012 at 11:54:20AM +0100, Laurent Pinchart wrote:
> > On Monday 23 January 2012 11:35:01 Daniel Vetter wrote:
> > > See my other mail, dma_buf v1 does not support cpu access.
> >
> > v1 is in the kernel now, let
Hi Daniel,
On Sunday 29 January 2012 14:03:40 Daniel Vetter wrote:
> On Sun, Jan 29, 2012 at 01:03:39PM +0200, Sakari Ailus wrote:
> > Daniel Vetter wrote:
> > > On Thu, Jan 26, 2012 at 01:28:16AM +0200, Sakari Ailus wrote:
> > >> Why you "should not hang onto mappings forever"? This is currently
Hi Sumit,
On Friday 27 January 2012 10:43:28 Sumit Semwal wrote:
> Some exporters may use DMA map/unmap APIs in dma-buf ops, which require
> enum dma_data_direction for both map and unmap operations.
>
> Thus, the unmap dma_buf_op also needs to have enum dma_data_direction as
> a parameter.
>
>
Hi Subash,
On Friday 27 January 2012 14:40:34 Subash Patel wrote:
> On 01/24/2012 05:36 PM, Tomasz Stanislawski wrote:
> > On 01/24/2012 12:07 PM, Subash Patel wrote:
> >>
> >> Instead of adding another IOCTL to query the file-descriptor in
> >> user-space, why dont we extend the existing ones in
Hi Sakari,
Thanks for the patch.
On Friday 27 January 2012 11:18:51 Sakari Ailus wrote:
> iommu_domain_free() was called in isp_remove() before omap3isp_put().
> omap3isp_put() must not save the context if the IOMMU no longer is there.
> Fix this.
>
> Signed-off-by: Sakari Ailus
Acked-by: Laur
Hi Laurent and Sachin,
Thanks for the patch and for your comments.
> From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com]
> Sent: 30 January 2012 13:12
>
> Hi Sashin,
>
> Thanks for the patch.
>
> On Monday 30 January 2012 10:58:43 Sachin Kamat wrote:
> > This patch adds support f
On Mon, Jan 30, 2012 at 01:42:50PM +0100, Michal Nazarewicz wrote:
> >On Thu, Jan 26, 2012 at 10:00:45AM +0100, Marek Szyprowski wrote:
> >>From: Michal Nazarewicz
> >>@@ -313,7 +316,7 @@ static isolate_migrate_t isolate_migratepages(struct
> >>zone *zone,
> >>} else if (!locked)
> >>
On Fri, Jan 27, 2012 at 04:26:24PM -0800, Andrew Morton wrote:
> On Thu, 26 Jan 2012 15:31:40 +
> Arnd Bergmann wrote:
>
> > On Thursday 26 January 2012, Marek Szyprowski wrote:
> > > Welcome everyone!
> > >
> > > Yes, that's true. This is yet another release of the Contiguous Memory
> > > A
On Thu, Jan 26, 2012 at 10:00:50AM +0100, Marek Szyprowski wrote:
From: Michal Nazarewicz
@@ -875,10 +895,15 @@ struct page *__rmqueue_smallest(struct zone *zone,
unsigned int order,
* This array describes the order lists are fallen back to when
* the free lists for the desirable migrate ty
On Thu, Jan 26, 2012 at 10:00:53AM +0100, Marek Szyprowski wrote:
> alloc_contig_range() performs memory allocation so it also should keep
> track on keeping the correct level of memory watermarks. This commit adds
> a call to *_slowpath style reclaim to grab enough pages to make sure that
> the fi
On 01/30/2012 01:11 PM, Laurent Pinchart wrote:
>> static int g2d_open(struct file *file)
>> @@ -564,6 +591,8 @@ static void device_run(void *prv)
>> g2d_set_dst_addr(dev, vb2_dma_contig_plane_dma_addr(dst, 0));
>>
>> g2d_set_rop4(dev, ctx->rop);
>> +g2d_set_flip(dev, ctx->hflip | ct
On Thu, Jan 26, 2012 at 10:00:45AM +0100, Marek Szyprowski wrote:
From: Michal Nazarewicz
@@ -313,7 +316,7 @@ static isolate_migrate_t isolate_migratepages(struct zone
*zone,
} else if (!locked)
spin_lock_irq(&zone->lru_lock);
- if (!pfn_va
On Thu, Jan 26, 2012 at 10:00:52AM +0100, Marek Szyprowski wrote:
> This patch extracts common reclaim code from __alloc_pages_direct_reclaim()
> function to separate function: __perform_reclaim() which can be later used
> by alloc_contig_range().
>
> Signed-off-by: Marek Szyprowski
> Signed-off-
On Thu, Jan 26, 2012 at 10:00:50AM +0100, Marek Szyprowski wrote:
> From: Michal Nazarewicz
>
> The MIGRATE_CMA migration type has two main characteristics:
> (i) only movable pages can be allocated from MIGRATE_CMA
> pageblocks and (ii) page allocator will never change migration
> type of MIGRAT
On Thu, Jan 26, 2012 at 10:00:47AM +0100, Marek Szyprowski wrote:
From: Michal Nazarewicz
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -16,30 +16,11 @@
#include
#include "internal.h"
+#if defined CONFIG_COMPACTION || defined CONFIG_CMA
+
On Mon, 30 Jan 2012 12:57:26 +0100, Mel Gorman wr
The fields are set but never used, remove them.
Signed-off-by: Laurent Pinchart
---
drivers/media/video/mt9p031.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/media/video/mt9p031.c b/drivers/media/video/mt9p031.c
index 93c3ec7..0bdddbb 100644
--- a/drivers/
The OMAP3 ISP preview engine will violate the L4 bus protocol if we try
to write some of its internal registers after it failed to stop
properly. This generates an external abort on non-linefetch fault,
triggering a fatal kernel oops.
We can't always prevent preview engine stop failures (they can
Signed-off-by: Javier Martin
---
Changes since v2:
- Use true and false for bool variables.
---
drivers/media/video/mx2_camera.c | 38 --
1 files changed, 16 insertions(+), 22 deletions(-)
diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/vid
The way discard buffer was previously handled lead
to possible races that made a buffer that was not
yet ready to be overwritten by new video data. This
is easily detected at 25fps just adding "#define DEBUG"
to enable the "memset" check and seeing how the image
is corrupted.
A new "discard" queue
Add "start_stream" and "stop_stream" callback in order to enable
and disable the eMMa-PrP properly and save CPU usage avoiding
IRQs when the device is not streaming. This also makes the driver
return 0 as the sequence number of the first frame.
Signed-off-by: Javier Martin
---
- Make start_strea
Signed-off-by: Javier Martin
---
Changes since v2:
- Return ENOTTY for VIDIOC_CREATE_BUFS
- Check buffer size properly.
- Do not remove unfixed FIXME.
- Remove mx25 queued buffers from the queue list at release.
---
drivers/media/video/mx2_camera.c | 289 +--
On Thu, Jan 26, 2012 at 10:00:49AM +0100, Marek Szyprowski wrote:
> From: Michal Nazarewicz
>
> This commit adds a row for MIGRATE_ISOLATE type to the fallbacks array
> which was missing from it. It also, changes the array traversal logic
> a little making MIGRATE_RESERVE an end marker. The let
Hi Sashin,
Thanks for the patch.
On Monday 30 January 2012 10:58:43 Sachin Kamat wrote:
> This patch adds support for flipping the image horizontally and vertically.
>
> Signed-off-by: Sachin Kamat
> ---
> drivers/media/video/s5p-g2d/g2d-hw.c |5 +++
> drivers/media/video/s5p-g2d/g2d.c
On Thu, Jan 26, 2012 at 10:00:48AM +0100, Marek Szyprowski wrote:
> From: Michal Nazarewicz
>
> This commit adds the alloc_contig_range() function which tries
> to allocate given range of pages. It tries to migrate all
> already allocated pages that fall in the range thus freeing them.
> Once al
On 27 January 2012 19:16, Guennadi Liakhovetski wrote:
> (removed bar...@tkos.co.il - it bounces)
>
> On Thu, 26 Jan 2012, Javier Martin wrote:
>
>>
>> Signed-off-by: Javier Martin
>> ---
>> Changes since v1:
>> - Make ifs in irq callback mutually exclusive.
>> - Add new argument to mx27_camer
On 27 January 2012 19:13, Guennadi Liakhovetski wrote:
> On Thu, 26 Jan 2012, Javier Martin wrote:
>
>> The way discard buffer was previously handled lead
>> to possible races that made a buffer that was not
>> yet ready to be overwritten by new video data. This
>> is easily detected at 25fps just
Hi Guennadi,
On 27 January 2012 19:02, Guennadi Liakhovetski wrote:
> (removing bar...@tkos.co.il - it bounces)
>
> On Thu, 26 Jan 2012, javier Martin wrote:
>
>> Hi Guennadi,
>>
>> On 25 January 2012 13:12, Guennadi Liakhovetski
>> wrote:
>> > On Fri, 20 Jan 2012, Javier Martin wrote:
>> >
>>
Hi Sakari,
On 01/29/2012 07:06 PM, Sakari Ailus wrote:
> The problem with multiple sink pads is that which one you're referring to
> when you're configuring the first processing step on the source. Without
> composition there are no issues.
>
> What I can think of is to create a special compositi
The HS/VS interrupt handler needs to access the pipeline object. It
erronously tries to get it from the CCDC output video node, which isn't
necessarily included in the pipeline. This leads to a NULL pointer
dereference.
Fix the bug by getting the pipeline object from the CCDC subdev entity.
Repor
On Thu, Jan 26, 2012 at 10:00:47AM +0100, Marek Szyprowski wrote:
> From: Michal Nazarewicz
>
> This commit exports some of the functions from compaction.c file
> outside of it adding their declaration into internal.h header
> file so that other mm related code can use them.
>
> This forced comp
On Mon, Jan 30, 2012 at 11:48:20AM +, Mel Gorman wrote:
> > + if (!zone)
> > + zone = page_zone(pfn_to_page(pfn));
> > + else if (zone != page_zone(pfn_to_page(pfn)))
> > + break;
> > +
>
> So what you are checking for here is if you stra
Hi Mauro,
Here's one patch for v3.3 that fixes a regression. The patch was included in
v3.2, but a merge conflict coupled with a bad conflict resolution removed it
from v3.3.
The following changes since commit dcd6c92267155e70a94b3927bce681ce74b80d1f:
Linux 3.3-rc1 (2012-01-19 15:04:48 -0800
On Thu, Jan 26, 2012 at 10:00:46AM +0100, Marek Szyprowski wrote:
> From: Michal Nazarewicz
>
> This commit introduces isolate_freepages_range() function which
> generalises isolate_freepages_block() so that it can be used on
> arbitrary PFN ranges.
>
> isolate_freepages_block() is left with onl
On Thu, Jan 26, 2012 at 10:00:45AM +0100, Marek Szyprowski wrote:
> From: Michal Nazarewicz
>
> This commit introduces isolate_migratepages_range() function which
> extracts functionality from isolate_migratepages() so that it can be
> used on arbitrary PFN ranges.
>
> isolate_migratepages() fun
On Thu, Jan 26, 2012 at 10:00:44AM +0100, Marek Szyprowski wrote:
> From: Michal Nazarewicz
>
> This commit changes set_migratetype_isolate() so that it updates
> migrate type of pages on pcp list which is saved in their
> page_private.
>
> Signed-off-by: Michal Nazarewicz
> Signed-off-by: Mare
On Thu, Jan 26, 2012 at 10:00:43AM +0100, Marek Szyprowski wrote:
> From: Michal Nazarewicz
>
> Signed-off-by: Michal Nazarewicz
> Signed-off-by: Marek Szyprowski
Ordinarily, I do not like these sort of patches because they can
interfere with git blame but as it is comments that are affected;
Hi Sakari,
On Sunday 29 January 2012 11:28:16 Sakari Ailus wrote:
> Hi all,
>
> We have now two type of subdev drivers, those which use the Media
> controller framework and those which do not. The former group implements
> v4l2_subdev_pad_ops for the purpose whereas the latter uses
> v4l2_subdev_
This patch adds support for flipping the image horizontally and vertically.
Signed-off-by: Sachin Kamat
---
drivers/media/video/s5p-g2d/g2d-hw.c |5 +++
drivers/media/video/s5p-g2d/g2d.c| 47 +++--
drivers/media/video/s5p-g2d/g2d.h|3 ++
3 files chan
Hi Marek,
On Mon, Jan 30, 2012 at 9:43 AM, Marek Szyprowski
wrote:
> Did you managed to fix this issue?
Yes -- the recent increase in the vmalloc region triggered a bigger
truncation in the system RAM than we had before, and therefore
conflicted with the previous hardcoded region we were using.
Hi,
On 27 January 2012 16:53, Guennadi Liakhovetski wrote:
> On Thu, 26 Jan 2012, Javier Martin wrote:
>
>> Add "start_stream" and "stop_stream" callback in order to enable
>> and disable the eMMa-PrP properly and save CPU usage avoiding
>> IRQs when the device is not streaming. This also makes t
Hi Guennadi,
thank you for your time.
On 27 January 2012 16:25, Guennadi Liakhovetski wrote:
> A general question for mx2-camera: does it now after removal of legacy
> i.MX27 support only support i.MX25 (state: unknown) and i.MX27 in eMMA
> mode?
I understand so.
I'll send a v3 of this patch fi
55 matches
Mail list logo