LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [patch] Fix bttv and friends on 64bit machines with lots of memory.
@ 2007-01-10 8:58 Gerd Hoffmann
2007-01-10 23:41 ` hermann pitton
0 siblings, 1 reply; 4+ messages in thread
From: Gerd Hoffmann @ 2007-01-10 8:58 UTC (permalink / raw)
To: linux kernel mailing list; +Cc: Linux and Kernel Video
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
Hi,
We have a DMA32 zone now, lets use it to make sure the card
can reach the memory we have allocated for the video frame
buffers.
please apply,
Gerd
[-- Attachment #2: v4l-dma32 --]
[-- Type: text/plain, Size: 870 bytes --]
Fix bttv and friends on 64bit machines with lots of memory.
We have a DMA32 zone now, lets use it to make sure the card
can reach the memory we have allocated for the video frame
buffers.
Signed-off-by: Gerds Hoffmann <kraxel@suse.de>
---
drivers/media/video/video-buf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.18/drivers/media/video/video-buf.c
===================================================================
--- linux-2.6.18.orig/drivers/media/video/video-buf.c
+++ linux-2.6.18/drivers/media/video/video-buf.c
@@ -1224,7 +1224,7 @@ videobuf_vm_nopage(struct vm_area_struct
vaddr,vma->vm_start,vma->vm_end);
if (vaddr > vma->vm_end)
return NOPAGE_SIGBUS;
- page = alloc_page(GFP_USER);
+ page = alloc_page(GFP_USER | __GFP_DMA32);
if (!page)
return NOPAGE_OOM;
clear_user_page(page_address(page), vaddr, page);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] Fix bttv and friends on 64bit machines with lots of memory.
2007-01-10 8:58 [patch] Fix bttv and friends on 64bit machines with lots of memory Gerd Hoffmann
@ 2007-01-10 23:41 ` hermann pitton
2007-01-13 0:42 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 4+ messages in thread
From: hermann pitton @ 2007-01-10 23:41 UTC (permalink / raw)
To: Linux and Kernel Video; +Cc: linux kernel mailing list
Am Mittwoch, den 10.01.2007, 09:58 +0100 schrieb Gerd Hoffmann:
> Hi,
>
> We have a DMA32 zone now, lets use it to make sure the card
> can reach the memory we have allocated for the video frame
> buffers.
>
> please apply,
>
> Gerd
Hi,
did anybody already pick up, comment, review Gerd's patch ?
Walks in into his own home like a stranger ...
Gerd, THANKS for all you did.
It was a incredible lot!
Hermann
> einfaches Textdokument-Anlage (v4l-dma32)
> Fix bttv and friends on 64bit machines with lots of memory.
>
> We have a DMA32 zone now, lets use it to make sure the card
> can reach the memory we have allocated for the video frame
> buffers.
>
> Signed-off-by: Gerds Hoffmann <kraxel@suse.de>
> ---
> drivers/media/video/video-buf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6.18/drivers/media/video/video-buf.c
> ===================================================================
> --- linux-2.6.18.orig/drivers/media/video/video-buf.c
> +++ linux-2.6.18/drivers/media/video/video-buf.c
> @@ -1224,7 +1224,7 @@ videobuf_vm_nopage(struct vm_area_struct
> vaddr,vma->vm_start,vma->vm_end);
> if (vaddr > vma->vm_end)
> return NOPAGE_SIGBUS;
> - page = alloc_page(GFP_USER);
> + page = alloc_page(GFP_USER | __GFP_DMA32);
> if (!page)
> return NOPAGE_OOM;
> clear_user_page(page_address(page), vaddr, page);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] Fix bttv and friends on 64bit machines with lots of memory.
2007-01-10 23:41 ` hermann pitton
@ 2007-01-13 0:42 ` Mauro Carvalho Chehab
2007-01-13 1:37 ` hermann pitton
0 siblings, 1 reply; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2007-01-13 0:42 UTC (permalink / raw)
To: hermann pitton; +Cc: Linux and Kernel Video, linux kernel mailing list
Em Qui, 2007-01-11 às 00:41 +0100, hermann pitton escreveu:
> Am Mittwoch, den 10.01.2007, 09:58 +0100 schrieb Gerd Hoffmann:
> > Hi,
> >
> > We have a DMA32 zone now, lets use it to make sure the card
> > can reach the memory we have allocated for the video frame
> > buffers.
> >
> > please apply,
> >
> > Gerd
>
> Hi,
>
> did anybody already pick up, comment, review Gerd's patch ?
>
> Walks in into his own home like a stranger ...
>
> Gerd, THANKS for all you did.
> It was a incredible lot!
Hermann,
I just picked it today. I was out this week due to a physical damage at
the hd on my notebook, were my mailboxes are retrieved. Only today I
have it on a stable condition to return back to activities, successfully
recovering my /home on it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] Fix bttv and friends on 64bit machines with lots of memory.
2007-01-13 0:42 ` Mauro Carvalho Chehab
@ 2007-01-13 1:37 ` hermann pitton
0 siblings, 0 replies; 4+ messages in thread
From: hermann pitton @ 2007-01-13 1:37 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: Linux and Kernel Video, linux kernel mailing list
Am Freitag, den 12.01.2007, 22:42 -0200 schrieb Mauro Carvalho Chehab:
> Em Qui, 2007-01-11 às 00:41 +0100, hermann pitton escreveu:
> > Am Mittwoch, den 10.01.2007, 09:58 +0100 schrieb Gerd Hoffmann:
> > > Hi,
> > >
> > > We have a DMA32 zone now, lets use it to make sure the card
> > > can reach the memory we have allocated for the video frame
> > > buffers.
> > >
> > > please apply,
> > >
> > > Gerd
> >
> > Hi,
> >
> > did anybody already pick up, comment, review Gerd's patch ?
> >
> > Walks in into his own home like a stranger ...
> >
> > Gerd, THANKS for all you did.
> > It was a incredible lot!
>
> Hermann,
>
> I just picked it today. I was out this week due to a physical damage at
> the hd on my notebook, were my mailboxes are retrieved. Only today I
> have it on a stable condition to return back to activities, successfully
> recovering my /home on it.
Mauro, Gerd,
sorry to be a pain with this one,
just thought it could be a missing each other.
Our maintainers don't need to excuse for anything!
Adrian and all, thanks for fixing the remaining bugs.
Cheers,
Hermann
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-13 1:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-10 8:58 [patch] Fix bttv and friends on 64bit machines with lots of memory Gerd Hoffmann
2007-01-10 23:41 ` hermann pitton
2007-01-13 0:42 ` Mauro Carvalho Chehab
2007-01-13 1:37 ` hermann pitton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).