From: Sylwester Nawrocki <snjw23@gmail.com>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-media@vger.kernel.org, mchehab@infradead.org,
kyungmin.park@samsung.com, k.debski@samsung.com,
patches@linaro.org, Kamil Debski <k.debski@samsung.com>
Subject: Re: [PATCH v4] [media] s5p-g2d: Add HFLIP and VFLIP support
Date: Wed, 01 Feb 2012 20:46:49 +0100 [thread overview]
Message-ID: <4F2996A9.2000809@gmail.com> (raw)
In-Reply-To: <1328089723-18482-1-git-send-email-sachin.kamat@linaro.org>
Hi Sachin,
On 02/01/2012 10:48 AM, Sachin Kamat wrote:
> Add support for flipping the image horizontally and vertically.
>
> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
> ---
> drivers/media/video/s5p-g2d/g2d-hw.c | 5 +++++
> drivers/media/video/s5p-g2d/g2d.c | 27 ++++++++++++++++++++-------
> drivers/media/video/s5p-g2d/g2d.h | 4 ++++
> 3 files changed, 29 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/media/video/s5p-g2d/g2d-hw.c b/drivers/media/video/s5p-g2d/g2d-hw.c
> index 39937cf..5b86cbe 100644
> --- a/drivers/media/video/s5p-g2d/g2d-hw.c
> +++ b/drivers/media/video/s5p-g2d/g2d-hw.c
> @@ -77,6 +77,11 @@ void g2d_set_rop4(struct g2d_dev *d, u32 r)
> w(r, ROP4_REG);
> }
>
> +void g2d_set_flip(struct g2d_dev *d, u32 r)
> +{
> + w(r, SRC_MSK_DIRECT_REG);
> +}
nit: This could be added instead to g2d.h as a "static inline" function.
Whether you decide to change it or not:
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
I assume Kamil is going to add locking in subsequent patch(es).
--
Regards,
Sylwester
next prev parent reply other threads:[~2012-02-01 19:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-01 9:48 [PATCH v4] [media] s5p-g2d: Add HFLIP and VFLIP support Sachin Kamat
2012-02-01 19:46 ` Sylwester Nawrocki [this message]
2012-02-02 3:32 ` Sachin Kamat
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=4F2996A9.2000809@gmail.com \
--to=snjw23@gmail.com \
--cc=k.debski@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=patches@linaro.org \
--cc=sachin.kamat@linaro.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.