All of lore.kernel.org
 help / color / mirror / Atom feed
From: Asheesh Bhardwaj <asheeshb@ti.com>
To: linux-media@vger.kernel.org
Subject: MMAP buffer allocation Davinci
Date: Thu, 20 May 2010 20:03:12 +0000 (UTC)	[thread overview]
Message-ID: <loom.20100520T212708-677@post.gmane.org> (raw)
In-Reply-To: A69FA2915331DC488A831521EAE36FE4016AFDE3A6@dlee06.ent.ti.com

Karicheri, Muralidharan <m-karicheri2 <at> ti.com> writes:

> 
> Asheesh,
> 
> Please re-send this patch with following:-
> 
> 1) A detailed description of what you are trying to fix in each of this 
patch. You need to also run the
> checkpatch.pl script to make sure there are no errors.
> 2) Please make this patch based on the http://git.linuxtv.org/v4l-dvb.git 
master branch. I am assuming
> you have based it upon the Arago tree.
> 3) add the Signed-off-by field.
> 
> Murali Karicheri
> Software Design Engineer
> Texas Instruments Inc.
> Germantown, MD 20874
> phone: 301-407-9583
> email: m-karicheri2 <at> ti.com
> 
> >-----Original Message-----
> >From: linux-media-owner <at> vger.kernel.org [mailto:linux-media-
> >owner <at> vger.kernel.org] On Behalf Of Bhardwaj, Asheesh
> >Sent: Wednesday, May 19, 2010 12:45 PM
> >To: linux-media <at> vger.kernel.org
> >Subject:
> >
> >The patches will be applied to the davinci tree
> >the ../drivers/media/video/davinci and will affect the both the capture and
> >display drivers. Apply these patches to the git kernel.
> >From asheeshb <at> ti.com # This line is ignored.
> >GIT:
> >From: asheeshb <at> ti.com
> >Subject:
> >In-Reply-To:
> >
> >--
> >To unsubscribe from this list: send the line "unsubscribe linux-media" in
> >the body of a message to majordomo <at> vger.kernel.org
> >More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
The following portion of the mail was truncted from the originla post. Thers 
are 1-7 patches on this series. The kernel patches are targetted for support 
of memory allocation during boot time for large buffers. This will allow the 
user to get contiguous buffers beyond linux memory and can configure the 
location and size of the buffer using parametrs configured during boot time 
using bootargs. The current implementation will allow the application to get 
MMAP buffers but those buffers cannot be contiguous  and create 
defragmentation. The approach to provide contiguous buffers is inherited from 
the ../drivers/media/video/sh_mobile_ceu_camera.c already exist in the 
community code which uses dma_alloc_coherent function to get the contiguous 
buffers from the memory. During runtime the driver will allocate the required 
buffers from the contiguous memory.
The memory can be configured using the following arguments on the bootargs
1. Davinci display and vpfe cature driver
davinci_display.cont2_bufsize=<size of the total display buffers in bytes> 
davinci_display.cont2_bufoffset=<offset for the display buffers from linux 
memory in bytes> 
vpfe_capture.cont_bufsize==<size of the total capture buffers in bytes>
vpfe_capture.cont_bufoffset==<offset for the capture buffer from linux memory 
bytes> 
 

2. DavinciHD VPIF display and capture driver
vpif_display.cont_bufsize=<size of the display buffers in bytes> 
vpif_display.cont_bufoffset=<offset for the display buffers from linux memory 
in bytes> 
vpif_capture.cont_bufsize=<size of the capture buffers in 
bytes>                                             
vpif_capture.cont_bufoffset=<offset for the capture buffers from linux memory 
in bytes>
 


The patches will be applied to the davinci tree 
the ../drivers/media/video/davinci and will affect the both the capture and 
display drivers. Apply these patches to the git kernel.




      reply	other threads:[~2010-05-20 20:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 16:44 asheeshb
2010-05-19 16:44 ` [PATCH 1/7] changed driver for MMAP buffer asheeshb
2010-05-19 16:44   ` [PATCH 2/7] Patch for adding imagesize corrected for MMAP buffers asheeshb
2010-05-19 16:44     ` [PATCH 3/7] Patch for capture driver MMAP buffer allocation asheeshb
2010-05-19 16:44       ` [PATCH 4/7] Change vpif capture driver to get the right size image for the MMAP buffers asheeshb
2010-05-19 16:44         ` [PATCH 5/7] DM365 MMAP buffer allocation for display driver asheeshb
2010-05-19 16:44           ` [PATCH 6/7] DM365 capture MMAP buffer allocation asheeshb
2010-05-19 16:44             ` [PATCH 7/7] Support upto 1080p resolution for MMAP buffers DM365 capture asheeshb
2010-05-23 12:07   ` [PATCH 1/7] changed driver for MMAP buffer Hans Verkuil
2010-05-20 17:51 ` Karicheri, Muralidharan
2010-05-20 20:03   ` Asheesh Bhardwaj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20100520T212708-677@post.gmane.org \
    --to=asheeshb@ti.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.