Skip to contentSkip to conversation

OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP

PATCH In review Amber Jain 4 participants 9 messages May 31, 2011 – Jun 1, 2011 Media (V4L/DVB)

lore
Share & tools
lore

Amber Jain

author
#0 lore raw

PATCH 1/1 OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP

Remove GFP_DMA from the __get_free_pages() call as ZONE_DMA is not configured on OMAP. Earlier the page allocator used to return a page from ZONE_NORMAL even when GFP_DMA is passed and CONFIG_ZONE_DMA is disabled.
As a result of commit a197b59ae6e8bee56fcef37ea2482dc08414e2ac, page allocator returns null in such a scenario with a warning emitted to kernel log.

---
 drivers/media/video/omap/omap_vout.c |    2 +-
 drivers/media/video/omap24xxcam.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/video/omap/omap_vout.c +1 -1
index 4ada9be..8cac624 100644
@@ -181,7 +181,7 @@ static unsigned long omap_vout_alloc_buffer(u32 buf_size, u32 *phys_addr)
 
 	size = PAGE_ALIGN(buf_size);
 	order = get_order(size);
-	virt_addr = __get_free_pages(GFP_KERNEL | GFP_DMA, order);
+	virt_addr = __get_free_pages(GFP_KERNEL , order);
 	addr = virt_addr;
 
 	if (virt_addr) {
drivers/media/video/omap24xxcam.c +2 -2
index f6626e8..ade9262 100644
@@ -309,11 +309,11 @@ static int omap24xxcam_vbq_alloc_mmap_buffer(struct videobuf_buffer *vb)
 			order--;
 
 		/* try to allocate as many contiguous pages as possible */
-		page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+		page = alloc_pages(GFP_KERNEL , order);
 		/* if allocation fails, try to allocate smaller amount */
 		while (page == NULL) {
 			order--;
-			page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+			page = alloc_pages(GFP_KERNEL , order);
 			if (page == NULL && !order) {
 				err = -ENOMEM;
 				goto out;
Signature · 1 line
1.7.1
#1 lore raw

I have tested it on OMAP4430 blaze and OMAP3430 SDP platforms.

I do not have the hardware to test omap24xxcam change. Can someone please help me on this?

Thanks,
Amber

Quoted 59 lines

-----Original Message-----
From: JAIN, AMBER
Sent: Tuesday, May 31, 2011 3:22 PM
To: [email protected]
Cc: Hiremath, Vaibhav; [email protected]; JAIN, AMBER
Subject: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP

Remove GFP_DMA from the __get_free_pages() call as ZONE_DMA is not configured
on OMAP. Earlier the page allocator used to return a page from ZONE_NORMAL even when GFP_DMA is passed and CONFIG_ZONE_DMA is disabled. As a result of commit a197b59ae6e8bee56fcef37ea2482dc08414e2ac, page allocator
returns null in such a scenario with a warning emitted to kernel log.

---
 drivers/media/video/omap/omap_vout.c |    2 +-
 drivers/media/video/omap24xxcam.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/video/omap/omap_vout.c +1 -1
index 4ada9be..8cac624 100644
@@ -181,7 +181,7 @@ static unsigned long omap_vout_alloc_buffer(u32
 buf_size, u32 *phys_addr)
 
 	size = PAGE_ALIGN(buf_size);
 	order = get_order(size);
-	virt_addr = __get_free_pages(GFP_KERNEL | GFP_DMA, order);
+	virt_addr = __get_free_pages(GFP_KERNEL , order);
 	addr = virt_addr;
 
drivers/media/video/omap/omap_vout.c +0 -0
 	if (virt_addr) {
drivers/media/video/omap24xxcam.c +2 -2
index f6626e8..ade9262 100644
@@ -309,11 +309,11 @@ static int omap24xxcam_vbq_alloc_mmap_buffer(struct
 videobuf_buffer *vb)
 			order--;
 
 		/* try to allocate as many contiguous pages as possible */
-		page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+		page = alloc_pages(GFP_KERNEL , order);
 		/* if allocation fails, try to allocate smaller amount */
 		while (page == NULL) {
 			order--;
-			page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+			page = alloc_pages(GFP_KERNEL , order);
 			if (page == NULL && !order) {
 				err = -ENOMEM;

goto out;
--
1.7.1

#2 lore raw
Quoted 9 lines

-----Original Message-----
From: JAIN, AMBER
Sent: Tuesday, May 31, 2011 3:59 PM
To: [email protected]
Cc: Hiremath, Vaibhav; [email protected]
Subject: RE: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP

Quoted 5 lines

I have tested it on OMAP4430 blaze and OMAP3430 SDP platforms.

I do not have the hardware to test omap24xxcam change. Can someone please help me on this?

[Hiremath, Vaibhav] I would suggest splitting this patch into 2, it would be easier to handle.

I am validating the patch on OMAP3EVM as well; will update you shortly. Pulling in the latest commits, git-fetch is taking huge time.

Thanks,
Vaibhav

Quoted 65 lines

Thanks,
Amber

Quoted 6 lines

-----Original Message-----
From: JAIN, AMBER
Sent: Tuesday, May 31, 2011 3:22 PM
To: [email protected]
Cc: Hiremath, Vaibhav; [email protected]; JAIN, AMBER
Subject: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is

not

Quoted 5 lines

configured on OMAP

Remove GFP_DMA from the __get_free_pages() call as ZONE_DMA is not configured
on OMAP. Earlier the page allocator used to return a page from

ZONE_NORMAL

drivers/media/video/omap24xxcam.c static int

Quoted 32 lines

even when GFP_DMA is passed and CONFIG_ZONE_DMA is disabled. As a result of commit a197b59ae6e8bee56fcef37ea2482dc08414e2ac, page allocator
returns null in such a scenario with a warning emitted to kernel log.

---
 drivers/media/video/omap/omap_vout.c |    2 +-
 drivers/media/video/omap24xxcam.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/video/omap/omap_vout.c +1 -1
index 4ada9be..8cac624 100644
@@ -181,7 +181,7 @@ static unsigned long omap_vout_alloc_buffer(u32
 buf_size, u32 *phys_addr)
 
 	size = PAGE_ALIGN(buf_size);
 	order = get_order(size);
-	virt_addr = __get_free_pages(GFP_KERNEL | GFP_DMA, order);
+	virt_addr = __get_free_pages(GFP_KERNEL , order);
 	addr = virt_addr;
 
drivers/media/video/omap/omap_vout.c +0 -0
 	if (virt_addr) {
drivers/media/video/omap24xxcam.c +0 -0
index f6626e8..ade9262 100644
@@ -309,11 +309,11 @@ static int

omap24xxcam_vbq_alloc_mmap_buffer(struct

Quoted 16 lines
drivers/media/video/omap24xxcam.c +2 -2
 videobuf_buffer *vb)
 			order--;
 
 		/* try to allocate as many contiguous pages as possible */
-		page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+		page = alloc_pages(GFP_KERNEL , order);
 		/* if allocation fails, try to allocate smaller amount */
 		while (page == NULL) {
 			order--;
-			page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+			page = alloc_pages(GFP_KERNEL , order);
 			if (page == NULL && !order) {
 				err = -ENOMEM;

goto out;
--
1.7.1

#3 lore raw
Quoted 23 lines

-----Original Message-----
From: Hiremath, Vaibhav
Sent: Tuesday, May 31, 2011 5:07 PM
To: JAIN, AMBER; [email protected]
Cc: [email protected]
Subject: RE: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP

Quoted 6 lines

-----Original Message-----
From: JAIN, AMBER
Sent: Tuesday, May 31, 2011 3:59 PM
To: [email protected]
Cc: Hiremath, Vaibhav; [email protected]
Subject: RE: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA

is

Quoted 5 lines

not configured on OMAP

I have tested it on OMAP4430 blaze and OMAP3430 SDP platforms.

I do not have the hardware to test omap24xxcam change. Can someone

Quoted 8 lines

please

Quoted 2 lines

help me on this?

[Hiremath, Vaibhav] I would suggest splitting this patch into 2, it would be easier to handle.

I am validating the patch on OMAP3EVM as well; will update you shortly. Pulling in the latest commits, git-fetch is taking huge time.

Do you mean I should have it as a patch-set, or 2 different patches all together.

~Amber

Quoted 69 lines

Thanks,
Vaibhav

Quoted 65 lines

Thanks,
Amber

Quoted 6 lines

-----Original Message-----
From: JAIN, AMBER
Sent: Tuesday, May 31, 2011 3:22 PM
To: [email protected]
Cc: Hiremath, Vaibhav; [email protected]; JAIN, AMBER
Subject: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is

not

Quoted 5 lines

configured on OMAP

Remove GFP_DMA from the __get_free_pages() call as ZONE_DMA is not configured
on OMAP. Earlier the page allocator used to return a page from

ZONE_NORMAL

drivers/media/video/omap24xxcam.c static int

Quoted 32 lines

even when GFP_DMA is passed and CONFIG_ZONE_DMA is disabled. As a result of commit a197b59ae6e8bee56fcef37ea2482dc08414e2ac, page allocator
returns null in such a scenario with a warning emitted to kernel log.

---
 drivers/media/video/omap/omap_vout.c |    2 +-
 drivers/media/video/omap24xxcam.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/video/omap/omap_vout.c +1 -1
index 4ada9be..8cac624 100644
@@ -181,7 +181,7 @@ static unsigned long omap_vout_alloc_buffer(u32
 buf_size, u32 *phys_addr)
 
 	size = PAGE_ALIGN(buf_size);
 	order = get_order(size);
-	virt_addr = __get_free_pages(GFP_KERNEL | GFP_DMA, order);
+	virt_addr = __get_free_pages(GFP_KERNEL , order);
 	addr = virt_addr;
 
drivers/media/video/omap/omap_vout.c +0 -0
 	if (virt_addr) {
drivers/media/video/omap24xxcam.c +0 -0
index f6626e8..ade9262 100644
@@ -309,11 +309,11 @@ static int

omap24xxcam_vbq_alloc_mmap_buffer(struct

Quoted 16 lines
drivers/media/video/omap24xxcam.c +2 -2
 videobuf_buffer *vb)
 			order--;
 
 		/* try to allocate as many contiguous pages as possible */
-		page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+		page = alloc_pages(GFP_KERNEL , order);
 		/* if allocation fails, try to allocate smaller amount */
 		while (page == NULL) {
 			order--;
-			page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+			page = alloc_pages(GFP_KERNEL , order);
 			if (page == NULL && !order) {
 				err = -ENOMEM;

goto out;
--
1.7.1

#4 lore raw
Quoted 37 lines

-----Original Message-----
From: JAIN, AMBER
Sent: Tuesday, May 31, 2011 7:53 PM
To: Hiremath, Vaibhav; [email protected]
Cc: [email protected]
Subject: RE: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP

Quoted 6 lines

-----Original Message-----
From: Hiremath, Vaibhav
Sent: Tuesday, May 31, 2011 5:07 PM
To: JAIN, AMBER; [email protected]
Cc: [email protected]
Subject: RE: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA

is

Quoted 12 lines

not configured on OMAP

Quoted 6 lines

-----Original Message-----
From: JAIN, AMBER
Sent: Tuesday, May 31, 2011 3:59 PM
To: [email protected]
Cc: Hiremath, Vaibhav; [email protected]
Subject: RE: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA

is

Quoted 2 lines

not configured on OMAP

Quoted 7 lines
Quoted 3 lines

I have tested it on OMAP4430 blaze and OMAP3430 SDP platforms.

I do not have the hardware to test omap24xxcam change. Can someone

please

Quoted 2 lines

help me on this?

[Hiremath, Vaibhav] I would suggest splitting this patch into 2, it

Quoted 9 lines

would

Quoted 4 lines

be easier to handle.

I am validating the patch on OMAP3EVM as well; will update you shortly. Pulling in the latest commits, git-fetch is taking huge time.

Do you mean I should have it as a patch-set, or 2 different patches all together.

[Hiremath, Vaibhav] 2 different patches.

Thanks,
Vaibhav

Quoted 74 lines

~Amber

Quoted 13 lines

Thanks,
Vaibhav

Quoted 9 lines

Thanks,
Amber

Quoted 6 lines

-----Original Message-----
From: JAIN, AMBER
Sent: Tuesday, May 31, 2011 3:22 PM
To: [email protected]
Cc: Hiremath, Vaibhav; [email protected]; JAIN, AMBER
Subject: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA

is

Quoted 11 lines
Quoted 11 lines

not

Quoted 5 lines

configured on OMAP

Remove GFP_DMA from the __get_free_pages() call as ZONE_DMA is not configured
on OMAP. Earlier the page allocator used to return a page from

ZONE_NORMAL

Quoted 4 lines

even when GFP_DMA is passed and CONFIG_ZONE_DMA is disabled. As a result of commit a197b59ae6e8bee56fcef37ea2482dc08414e2ac, page allocator
returns null in such a scenario with a warning emitted to kernel

log.

Quoted 29 lines
Quoted 29 lines

drivers/media/video/omap24xxcam.c static int

Quoted 28 lines
---
 drivers/media/video/omap/omap_vout.c |    2 +-
 drivers/media/video/omap24xxcam.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/video/omap/omap_vout.c +1 -1
index 4ada9be..8cac624 100644
@@ -181,7 +181,7 @@ static unsigned long omap_vout_alloc_buffer(u32
 buf_size, u32 *phys_addr)
 
 	size = PAGE_ALIGN(buf_size);
 	order = get_order(size);
-	virt_addr = __get_free_pages(GFP_KERNEL | GFP_DMA, order);
+	virt_addr = __get_free_pages(GFP_KERNEL , order);
 	addr = virt_addr;
 
drivers/media/video/omap/omap_vout.c +0 -0
 	if (virt_addr) {
drivers/media/video/omap24xxcam.c +0 -0
index f6626e8..ade9262 100644
@@ -309,11 +309,11 @@ static int

omap24xxcam_vbq_alloc_mmap_buffer(struct

Quoted 4 lines
Quoted 4 lines

drivers/media/video/omap24xxcam.c static int omap24xxcam_vbq_alloc_mmap_buffer(struct videobuf_buffer *vb)

Quoted 4 lines
drivers/media/video/omap24xxcam.c +0 -0
 videobuf_buffer *vb)
 			order--;
 
 		/* try to allocate as many contiguous pages as possible

*/

Quoted 3 lines
Quoted 3 lines

drivers/media/video/omap24xxcam.c static int omap24xxcam_vbq_alloc_mmap_buffer(struct videobuf_buffer *vb)

Quoted 3 lines
drivers/media/video/omap24xxcam.c +1 -1
-		page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+		page = alloc_pages(GFP_KERNEL , order);
 		/* if allocation fails, try to allocate smaller amount

*/

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
drivers/media/video/omap24xxcam.c +1 -1
 		while (page == NULL) {
 			order--;
-			page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+			page = alloc_pages(GFP_KERNEL , order);
 			if (page == NULL && !order) {
 				err = -ENOMEM;

goto out;
--
1.7.1

#7 lore raw
In reply to Amber Jain
Quoted 17 lines · Amber Jain

Remove GFP_DMA from the __get_free_pages() call as ZONE_DMA is not configured on OMAP. Earlier the page allocator used to return a page from ZONE_NORMAL even when GFP_DMA is passed and CONFIG_ZONE_DMA is disabled.
As a result of commit a197b59ae6e8bee56fcef37ea2482dc08414e2ac, page allocator returns null in such a scenario with a warning emitted to kernel log.

---
 drivers/media/video/omap/omap_vout.c |    2 +-
 drivers/media/video/omap24xxcam.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/video/omap/omap_vout.c +0 -0
index 4ada9be..8cac624 100644

drivers/media/video/omap/omap_vout.c static unsigned long omap_vout_alloc_buffer(u32 buf_size, u32 *phys_addr) · line 184

Quoted 5 lines
drivers/media/video/omap/omap_vout.c +1 -1
@@ -181,7 +181,7 @@ static unsigned long omap_vout_alloc_buffer(u32 buf_size, u32 *phys_addr)
 
 	size = PAGE_ALIGN(buf_size);
 	order = get_order(size);
-	virt_addr = __get_free_pages(GFP_KERNEL | GFP_DMA, order);
+	virt_addr = __get_free_pages(GFP_KERNEL , order);

Superfluous space before comma on all 3 occasions

Quoted 29 lines
drivers/media/video/omap/omap_vout.c +0 -0
 	addr = virt_addr;
 
 	if (virt_addr) {
drivers/media/video/omap24xxcam.c +2 -2
index f6626e8..ade9262 100644
@@ -309,11 +309,11 @@ static int omap24xxcam_vbq_alloc_mmap_buffer(struct videobuf_buffer *vb)
 			order--;
 
 		/* try to allocate as many contiguous pages as possible */
-		page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+		page = alloc_pages(GFP_KERNEL , order);
 		/* if allocation fails, try to allocate smaller amount */
 		while (page == NULL) {
 			order--;
-			page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+			page = alloc_pages(GFP_KERNEL , order);
 			if (page == NULL && !order) {
 				err = -ENOMEM;
 				goto out;
Signature · 6 lines
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

#8 lore raw
Quoted 34 lines

-----Original Message-----
From: Guennadi Liakhovetski [mailto:[email protected]]
Sent: Tuesday, May 31, 2011 10:40 PM
To: JAIN, AMBER
Cc: [email protected]; Hiremath, Vaibhav; [email protected]
Subject: Re: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP

Quoted 1 line · Amber Jain

Remove GFP_DMA from the __get_free_pages() call as ZONE_DMA is not

configured

Quoted 1 line

on OMAP. Earlier the page allocator used to return a page from

ZONE_NORMAL

Quoted 2 lines

even when GFP_DMA is passed and CONFIG_ZONE_DMA is disabled. As a result of commit a197b59ae6e8bee56fcef37ea2482dc08414e2ac, page

allocator

Review

Quoted 9 lines

returns null in such a scenario with a warning emitted to kernel log.

---
 drivers/media/video/omap/omap_vout.c |    2 +-
 drivers/media/video/omap24xxcam.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/drivers/media/video/omap/omap_vout.c

drivers/media/video/omap/omap_vout.c static unsigned long omap_vout_alloc_buffer(u32

Quoted 4 lines

index 4ada9be..8cac624 100644

drivers/media/video/omap/omap_vout.c +0 -0
@@ -181,7 +181,7 @@ static unsigned long omap_vout_alloc_buffer(u32

buf_size, u32 *phys_addr)

Quoted 1 line
Quoted 7 lines

drivers/media/video/omap/omap_vout.c static unsigned long omap_vout_alloc_buffer(u32 buf_size, u32 *phys_addr) · line 184

Quoted 4 lines
drivers/media/video/omap/omap_vout.c +1 -1
 	size = PAGE_ALIGN(buf_size);
 	order = get_order(size);
-	virt_addr = __get_free_pages(GFP_KERNEL | GFP_DMA, order);
+	virt_addr = __get_free_pages(GFP_KERNEL , order);

Superfluous space before comma on all 3 occasions

[Hiremath, Vaibhav] He has submitted updated patch where it's taken care of.

Thanks,
Vaibhav

Quoted 37 lines

Review

Quoted 4 lines
drivers/media/video/omap/omap_vout.c +0 -0
 	addr = virt_addr;
 
 	if (virt_addr) {
(quoted diff) +0 -0

b/drivers/media/video/omap24xxcam.c

drivers/media/video/omap24xxcam.c static int

Quoted 4 lines

index f6626e8..ade9262 100644

drivers/media/video/omap24xxcam.c +0 -0
@@ -309,11 +309,11 @@ static int

omap24xxcam_vbq_alloc_mmap_buffer(struct videobuf_buffer *vb)

Quoted 16 lines
drivers/media/video/omap24xxcam.c +2 -3
 			order--;
 
 		/* try to allocate as many contiguous pages as possible */
-		page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+		page = alloc_pages(GFP_KERNEL , order);
 		/* if allocation fails, try to allocate smaller amount */
 		while (page == NULL) {
 			order--;
-			page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
+			page = alloc_pages(GFP_KERNEL , order);
 			if (page == NULL && !order) {
 				err = -ENOMEM;
 				goto out;
--

1.7.1

Quoted 2 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-media"

in

Quoted 3 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

#5 lore raw
In reply to JAIN, AMBER
Quoted 4 lines · AMBER

I have tested it on OMAP4430 blaze and OMAP3430 SDP platforms.

I do not have the hardware to test omap24xxcam change. Can someone please help me on this?

I have the hardware, but this driver is not testable right now as it is in the mainline since the board code for the camera is missing from N8[01]0 (besides cbus driver AFAIR). However the change seems practically mandatory to me --- I can ack it if you send a patch against omap24xxcam.c, as your new patch no longer contains the change for omap24xxcam.c.

Thanks.

Signature · 2 lines
Sakari Ailus
sakari dot ailus at iki dot fi
#6 lore raw

As per Vaibhav's review comments, I have split the patch into 2 different (independent) patches:
- one for omap_vout
- and another for omap24xxcam.c (name changed to [PATCH] OMAP2: V4L2: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP ) If you have difficulty in finding it I can send it again.

Thanks,
Amber

________________________________________
From: Sakari Ailus [[email protected]]
Sent: Wednesday, June 01, 2011 12:37 PM
To: JAIN, AMBER
Cc: [email protected]; Hiremath, Vaibhav
Subject: Re: [PATCH] OMAP: V4L2: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP

Quoted 4 lines · AMBER

I have tested it on OMAP4430 blaze and OMAP3430 SDP platforms.

I do not have the hardware to test omap24xxcam change. Can someone please help me on this?

I have the hardware, but this driver is not testable right now as it is in the mainline since the board code for the camera is missing from N8[01]0 (besides cbus driver AFAIR). However the change seems practically mandatory to me --- I can ack it if you send a patch against omap24xxcam.c, as your new patch no longer contains the change for omap24xxcam.c.

Thanks.

--
Sakari Ailus
sakari dot ailus at iki dot fi