linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josh Wu <josh.wu@atmel.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: <linux-media@vger.kernel.org>, <m.chehab@samsung.com>,
	<linux-arm-kernel@lists.infradead.org>, <voice.shen@atmel.com>,
	<nicolas.ferre@atmel.com>
Subject: Re: [PATCH] media: atmel-isi: increase the burst length to improve the performance
Date: Tue, 3 Feb 2015 13:50:29 +0800	[thread overview]
Message-ID: <54D061A5.3000503@atmel.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1502021122140.31366@axis700.grange>

Hi, Guennadi

On 2/2/2015 6:22 PM, Guennadi Liakhovetski wrote:
> Hi Josh,
>
> On Mon, 2 Feb 2015, Josh Wu wrote:
>
>> Hi, Guennadi
>>
>> Ping? what about the status of this patch?
> Right, got lost, sorry... Added to the queue now.
Thank you.

Best Regards,
Josh Wu

>
> Thanks
> Guennadi
>
>> Best Regards,
>> Josh Wu
>>
>> On 11/25/2014 5:30 PM, Josh Wu wrote:
>>> The burst length could be BEATS_4/8/16. Before this patch, isi use default
>>> value BEATS_4. To imporve the performance we could set it to BEATS_16.
>>>
>>> Otherwise sometime it would cause the ISI overflow error.
>>>
>>> Reported-by: Bo Shen <voice.shen@atmel.com>
>>> Signed-off-by: Josh Wu <josh.wu@atmel.com>
>>> ---
>>>    drivers/media/platform/soc_camera/atmel-isi.c | 2 ++
>>>    include/media/atmel-isi.h                     | 4 ++++
>>>    2 files changed, 6 insertions(+)
>>>
>>> diff --git a/drivers/media/platform/soc_camera/atmel-isi.c
>>> b/drivers/media/platform/soc_camera/atmel-isi.c
>>> index ee5650f..fda587b 100644
>>> --- a/drivers/media/platform/soc_camera/atmel-isi.c
>>> +++ b/drivers/media/platform/soc_camera/atmel-isi.c
>>> @@ -839,6 +839,8 @@ static int isi_camera_set_bus_param(struct
>>> soc_camera_device *icd)
>>>    	if (isi->pdata.full_mode)
>>>    		cfg1 |= ISI_CFG1_FULL_MODE;
>>>    +	cfg1 |= ISI_CFG1_THMASK_BEATS_16;
>>> +
>>>    	isi_writel(isi, ISI_CTRL, ISI_CTRL_DIS);
>>>    	isi_writel(isi, ISI_CFG1, cfg1);
>>>    diff --git a/include/media/atmel-isi.h b/include/media/atmel-isi.h
>>> index c2e5703..6008b09 100644
>>> --- a/include/media/atmel-isi.h
>>> +++ b/include/media/atmel-isi.h
>>> @@ -59,6 +59,10 @@
>>>    #define		ISI_CFG1_FRATE_DIV_MASK		(7 << 8)
>>>    #define ISI_CFG1_DISCR				(1 << 11)
>>>    #define ISI_CFG1_FULL_MODE			(1 << 12)
>>> +/* Definition for THMASK(ISI_V2) */
>>> +#define		ISI_CFG1_THMASK_BEATS_4		(0 << 13)
>>> +#define		ISI_CFG1_THMASK_BEATS_8		(1 << 13)
>>> +#define		ISI_CFG1_THMASK_BEATS_16	(2 << 13)
>>>      /* Bitfields in CFG2 */
>>>    #define ISI_CFG2_GRAYSCALE			(1 << 13)


      reply	other threads:[~2015-02-03  5:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25  9:30 [PATCH] media: atmel-isi: increase the burst length to improve the performance Josh Wu
2014-11-25 22:21 ` Guennadi Liakhovetski
2014-11-26  2:54   ` Josh Wu
2015-02-02 10:15 ` Josh Wu
2015-02-02 10:22   ` Guennadi Liakhovetski
2015-02-03  5:50     ` Josh Wu [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=54D061A5.3000503@atmel.com \
    --to=josh.wu@atmel.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    --cc=nicolas.ferre@atmel.com \
    --cc=voice.shen@atmel.com \
    /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 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).