From: Kamil Debski <k.debski@samsung.com>
To: 'Arun Kumar K' <arun.kk@samsung.com>, linux-media@vger.kernel.org
Cc: jtp.park@samsung.com, janghyuck.kim@samsung.com,
jaeryul.oh@samsung.com, ch.naveen@samsung.com,
Marek Szyprowski <m.szyprowski@samsung.com>,
kmpark@infradead.org, joshi@samsung.com
Subject: RE: [PATCH v3 1/4] [media] s5p-mfc: update MFC v4l2 driver to support MFC6.x
Date: Mon, 06 Aug 2012 15:20:12 +0200 [thread overview]
Message-ID: <00f201cd73d6$36371eb0$a2a55c10$%debski@samsung.com> (raw)
In-Reply-To: <1343046557-25353-2-git-send-email-arun.kk@samsung.com>
Hi Arun,
Please find my comments below.
Best wishes,
--
Kamil Debski
Linux Platform Group
Samsung Poland R&D Center
> From: Arun Kumar K [mailto:arun.kk@samsung.com]
> Sent: 23 July 2012 14:29
>
> From: Jeongtae Park <jtp.park@samsung.com>
>
> Multi Format Codec 6.x is a hardware video coding acceleration
> module fount in new Exynos5 SoC series.
> It is capable of handling a range of video codecs and this driver
> provides a V4L2 interface for video decoding and encoding.
>
> This is the first patch in the series for MFCv6 support. The major
> changes done in this patch is for MFCv5 and MFCv6 co-existence
> in the same kernel image.
>
> Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
> Singed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
> Singed-off-by: Jaeryul Oh <jaeryul.oh@samsung.com>
> Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
> Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
> Cc: Marek Szyprowski <m.szyprowski@samsung.com>
> Cc: Kamil Debski <k.debski@samsung.com>
> ---
> drivers/media/video/Kconfig | 4 +-
> drivers/media/video/s5p-mfc/Makefile | 7 +-
> drivers/media/video/s5p-mfc/regs-mfc.h | 33 +-
> drivers/media/video/s5p-mfc/s5p_mfc.c | 225 +++--
> drivers/media/video/s5p-mfc/s5p_mfc_cmd.c | 98 +--
> drivers/media/video/s5p-mfc/s5p_mfc_cmd.h | 13 +
> drivers/media/video/s5p-mfc/s5p_mfc_common.h | 153 +++-
> drivers/media/video/s5p-mfc/s5p_mfc_ctrl.c | 198 +++--
> drivers/media/video/s5p-mfc/s5p_mfc_ctrl.h | 1 +
> drivers/media/video/s5p-mfc/s5p_mfc_intr.c | 11 +-
> drivers/media/video/s5p-mfc/s5p_mfc_opr.c | 1402
+++-----------------------
> drivers/media/video/s5p-mfc/s5p_mfc_opr.h | 179 +++--
> drivers/media/video/s5p-mfc/s5p_mfc_pm.c | 8 +-
> drivers/media/video/s5p-mfc/s5p_mfc_shm.c | 47 -
> drivers/media/video/s5p-mfc/s5p_mfc_shm.h | 90 --
> 15 files changed, 756 insertions(+), 1713 deletions(-)
> delete mode 100644 drivers/media/video/s5p-mfc/s5p_mfc_shm.c
> delete mode 100644 drivers/media/video/s5p-mfc/s5p_mfc_shm.h
>
[snip]
> diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_cmd.h
> b/drivers/media/video/s5p-mfc/s5p_mfc_cmd.h
> index 5ceebfe..2be0b64 100644
> --- a/drivers/media/video/s5p-mfc/s5p_mfc_cmd.h
> +++ b/drivers/media/video/s5p-mfc/s5p_mfc_cmd.h
> @@ -21,10 +21,23 @@ struct s5p_mfc_cmd_args {
> unsigned int arg[MAX_H2R_ARG];
After applying all the patches MAX_H2R_ARG is defined in 3 places and
I think only the one in s5p_mfc_cmd.h is used.
> };
[snip]
> diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_opr.c
> b/drivers/media/video/s5p-mfc/s5p_mfc_opr.c
> index e6217cb..8afda8d 100644
> --- a/drivers/media/video/s5p-mfc/s5p_mfc_opr.c
> +++ b/drivers/media/video/s5p-mfc/s5p_mfc_opr.c
> @@ -12,1386 +12,276 @@
[snip]
>
> - s5p_mfc_set_dec_stream_buffer(ctx, 0, 0, 0);
> - dev->curr_ctx = ctx->num;
> - s5p_mfc_clean_ctx_int_flags(ctx);
> - s5p_mfc_decode_one_frame(ctx, MFC_DEC_RES_CHANGE);
> +int s5p_mfc_get_warn_start(struct s5p_mfc_dev *dev)
> +{
> + return s5p_mfc_ops->s5p_mfc_get_warn_start(dev);
> }
I think that a callback is not necessary, a simple integer variable should
do the job.
[snip]
next prev parent reply other threads:[~2012-08-06 13:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-23 12:29 [PATCH v3 0/4] update MFC v4l2 driver to support MFC6.x Arun Kumar K
2012-07-23 12:29 ` [PATCH v3 1/4] [media] s5p-mfc: " Arun Kumar K
2012-08-06 13:20 ` Kamil Debski [this message]
2012-07-23 12:29 ` [PATCH v3 2/4] [media] s5p-mfc: Decoder and encoder common files Arun Kumar K
2012-07-23 12:29 ` [PATCH v3 3/4] [media] s5p-mfc: Modified command and opr files for MFCv5 Arun Kumar K
2012-07-23 12:29 ` [PATCH v3 4/4] [media] s5p-mfc: New files for MFCv6 support Arun Kumar K
2012-08-06 13:20 ` Kamil Debski
2012-08-06 13:20 ` [PATCH v3 0/4] update MFC v4l2 driver to support MFC6.x Kamil Debski
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='00f201cd73d6$36371eb0$a2a55c10$%debski@samsung.com' \
--to=k.debski@samsung.com \
--cc=arun.kk@samsung.com \
--cc=ch.naveen@samsung.com \
--cc=jaeryul.oh@samsung.com \
--cc=janghyuck.kim@samsung.com \
--cc=joshi@samsung.com \
--cc=jtp.park@samsung.com \
--cc=kmpark@infradead.org \
--cc=linux-media@vger.kernel.org \
--cc=m.szyprowski@samsung.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