From: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
To: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org,
"Sören Brinkmann" <soren.brinkmann@xilinx.com>,
"Kukjin Kim" <kgene@kernel.org>,
"Krzysztof Kozlowski" <k.kozlowski@samsung.com>,
linux-sh@vger.kernel.org, "Hans Verkuil" <hans.verkuil@cisco.com>,
"Hyun Kwon" <hyun.kwon@xilinx.com>,
linux-samsung-soc@vger.kernel.org,
"Kyungmin Park" <kyungmin.park@samsung.com>,
"Sylwester Nawrocki" <s.nawrocki@samsung.com>,
"Prabhakar\"" <prabhakar.csengg@gmail.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
"Michal Simek" <michal.simek@xilinx.com>,
linux-arm-kernel@lists.infradead.org,
linux-media@vger.kernel.org
Subject: Re: [PATCH 0/4] [media] Media entity cleanups and build fixes
Date: Wed, 19 Aug 2015 13:58:37 -0300 [thread overview]
Message-ID: <20150819135837.7775703c@recife.lan> (raw)
In-Reply-To: <1439998526-12832-1-git-send-email-javier@osg.samsung.com>
Hi Javier,
Em Wed, 19 Aug 2015 17:35:18 +0200
Javier Martinez Canillas <javier@osg.samsung.com> escreveu:
> Hello,
>
> This series contains a couple of build fixes and cleanups for the
> Media Controller framework. The goal of the series is to get rid of
> the struct media_entity .parent member since now that a media_gobj is
> embedded into entities, the media_gobj .mdev member can be used to
> store a pointer to the parent struct media_device.
>
> So the .parent field becomes redundant and can be removed after all
> the users are converted to use entity .graph_obj.mdev instead.
>
> Patches 1/4 and 2/4 are build fixes I found while build testing if no
> regressions were introduced by the conversion.
Crap. Those omap drivers depend on some sub-arch specific DMA functions,
and can't use COMPILE_TEST. I hope some day someone would fix it,
in order to avoid troubles like that.
> Patch 3/4 converts
> all the drivers and the MC core to use .mdev instead of .parent and
> finally patch 4/4 removes the .parent field since now is unused.
Thanks for that!
All patches look good on my eyes.
>
> The series depend on Mauro's "[PATCH v6 0/8] MC preparation patches
> series" [0].
I'll add those patches on my experimental branch together with the
other patches that belong to the MC next gen rework.
>
> The transformation were automated using a coccinelle semantic patch
> and the drivers were build tested using allyesconfig and x-building
> the ARM Exynos and OMAP defconfigs + the needed media config options.
>
> Best regards,
> Javier
>
> [0]: http://www.mail-archive.com/linux-media@vger.kernel.org/msg91330.html
>
>
> Javier Martinez Canillas (4):
> [media] staging: omap4iss: get entity ID using media_entity_id()
> [media] omap3isp: get entity ID using media_entity_id()
> [media] media: use entity.graph_obj.mdev instead of .parent
> [media] media: remove media entity .parent field
>
> drivers/media/media-device.c | 8 ++---
> drivers/media/media-entity.c | 34 ++++++++++++----------
> drivers/media/platform/exynos4-is/fimc-isp-video.c | 6 ++--
> drivers/media/platform/exynos4-is/fimc-lite.c | 8 ++---
> drivers/media/platform/exynos4-is/media-dev.c | 2 +-
> drivers/media/platform/exynos4-is/media-dev.h | 8 ++---
> drivers/media/platform/omap3isp/isp.c | 11 ++++---
> drivers/media/platform/omap3isp/ispccdc.c | 2 +-
> drivers/media/platform/omap3isp/ispvideo.c | 10 ++++---
> drivers/media/platform/vsp1/vsp1_video.c | 2 +-
> drivers/media/platform/xilinx/xilinx-dma.c | 2 +-
> drivers/staging/media/davinci_vpfe/vpfe_video.c | 6 ++--
> drivers/staging/media/omap4iss/iss.c | 6 ++--
> drivers/staging/media/omap4iss/iss_video.c | 4 +--
> include/media/media-entity.h | 1 -
> 15 files changed, 58 insertions(+), 52 deletions(-)
>
Thanks and regards,
Mauro
WARNING: multiple messages have this Message-ID (diff)
From: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
To: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org,
"Sören Brinkmann" <soren.brinkmann@xilinx.com>,
"Kukjin Kim" <kgene@kernel.org>,
"Krzysztof Kozlowski" <k.kozlowski@samsung.com>,
linux-sh@vger.kernel.org, "Hans Verkuil" <hans.verkuil@cisco.com>,
"Hyun Kwon" <hyun.kwon@xilinx.com>,
linux-samsung-soc@vger.kernel.org,
"Kyungmin Park" <kyungmin.park@samsung.com>,
"Sylwester Nawrocki" <s.nawrocki@samsung.com>,
"Prabhakar\"" <prabhakar.csengg@gmail.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
"Michal Simek" <michal.simek@xilinx.com>,
linux-arm-kernel@lists.infradead.org,
linux-media@vger.kernel.org
Subject: Re: [PATCH 0/4] [media] Media entity cleanups and build fixes
Date: Wed, 19 Aug 2015 16:58:37 +0000 [thread overview]
Message-ID: <20150819135837.7775703c@recife.lan> (raw)
In-Reply-To: <1439998526-12832-1-git-send-email-javier@osg.samsung.com>
Hi Javier,
Em Wed, 19 Aug 2015 17:35:18 +0200
Javier Martinez Canillas <javier@osg.samsung.com> escreveu:
> Hello,
>
> This series contains a couple of build fixes and cleanups for the
> Media Controller framework. The goal of the series is to get rid of
> the struct media_entity .parent member since now that a media_gobj is
> embedded into entities, the media_gobj .mdev member can be used to
> store a pointer to the parent struct media_device.
>
> So the .parent field becomes redundant and can be removed after all
> the users are converted to use entity .graph_obj.mdev instead.
>
> Patches 1/4 and 2/4 are build fixes I found while build testing if no
> regressions were introduced by the conversion.
Crap. Those omap drivers depend on some sub-arch specific DMA functions,
and can't use COMPILE_TEST. I hope some day someone would fix it,
in order to avoid troubles like that.
> Patch 3/4 converts
> all the drivers and the MC core to use .mdev instead of .parent and
> finally patch 4/4 removes the .parent field since now is unused.
Thanks for that!
All patches look good on my eyes.
>
> The series depend on Mauro's "[PATCH v6 0/8] MC preparation patches
> series" [0].
I'll add those patches on my experimental branch together with the
other patches that belong to the MC next gen rework.
>
> The transformation were automated using a coccinelle semantic patch
> and the drivers were build tested using allyesconfig and x-building
> the ARM Exynos and OMAP defconfigs + the needed media config options.
>
> Best regards,
> Javier
>
> [0]: http://www.mail-archive.com/linux-media@vger.kernel.org/msg91330.html
>
>
> Javier Martinez Canillas (4):
> [media] staging: omap4iss: get entity ID using media_entity_id()
> [media] omap3isp: get entity ID using media_entity_id()
> [media] media: use entity.graph_obj.mdev instead of .parent
> [media] media: remove media entity .parent field
>
> drivers/media/media-device.c | 8 ++---
> drivers/media/media-entity.c | 34 ++++++++++++----------
> drivers/media/platform/exynos4-is/fimc-isp-video.c | 6 ++--
> drivers/media/platform/exynos4-is/fimc-lite.c | 8 ++---
> drivers/media/platform/exynos4-is/media-dev.c | 2 +-
> drivers/media/platform/exynos4-is/media-dev.h | 8 ++---
> drivers/media/platform/omap3isp/isp.c | 11 ++++---
> drivers/media/platform/omap3isp/ispccdc.c | 2 +-
> drivers/media/platform/omap3isp/ispvideo.c | 10 ++++---
> drivers/media/platform/vsp1/vsp1_video.c | 2 +-
> drivers/media/platform/xilinx/xilinx-dma.c | 2 +-
> drivers/staging/media/davinci_vpfe/vpfe_video.c | 6 ++--
> drivers/staging/media/omap4iss/iss.c | 6 ++--
> drivers/staging/media/omap4iss/iss_video.c | 4 +--
> include/media/media-entity.h | 1 -
> 15 files changed, 58 insertions(+), 52 deletions(-)
>
Thanks and regards,
Mauro
next prev parent reply other threads:[~2015-08-19 16:58 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 15:35 [PATCH 0/4] [media] Media entity cleanups and build fixes Javier Martinez Canillas
2015-08-19 15:35 ` Javier Martinez Canillas
2015-08-19 15:35 ` Javier Martinez Canillas
2015-08-19 15:35 ` Javier Martinez Canillas
2015-08-19 15:35 ` [PATCH 1/4] [media] staging: omap4iss: get entity ID using media_entity_id() Javier Martinez Canillas
2015-08-20 18:37 ` Laurent Pinchart
2015-08-21 0:14 ` Javier Martinez Canillas
2015-08-21 0:15 ` Laurent Pinchart
2015-08-21 0:31 ` Javier Martinez Canillas
2015-08-21 7:49 ` Hans Verkuil
2015-08-19 15:35 ` [PATCH 2/4] [media] omap3isp: " Javier Martinez Canillas
2015-08-19 15:35 ` [PATCH 3/4] [media] media: use entity.graph_obj.mdev instead of .parent Javier Martinez Canillas
2015-08-19 15:35 ` Javier Martinez Canillas
2015-08-19 15:35 ` Javier Martinez Canillas
2015-08-20 12:43 ` Hans Verkuil
2015-08-20 12:43 ` Hans Verkuil
2015-08-20 12:43 ` Hans Verkuil
2015-08-19 15:35 ` [PATCH 4/4] [media] media: remove media entity .parent field Javier Martinez Canillas
2015-08-20 12:43 ` Hans Verkuil
2015-08-19 16:58 ` Mauro Carvalho Chehab [this message]
2015-08-19 16:58 ` [PATCH 0/4] [media] Media entity cleanups and build fixes Mauro Carvalho Chehab
2015-08-20 12:41 ` Hans Verkuil
2015-08-20 12:41 ` Hans Verkuil
2015-08-20 12:41 ` Hans Verkuil
2015-08-20 12:50 ` Javier Martinez Canillas
2015-08-20 12:50 ` Javier Martinez Canillas
2015-08-20 12:50 ` Javier Martinez Canillas
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=20150819135837.7775703c@recife.lan \
--to=mchehab@osg.samsung.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=hans.verkuil@cisco.com \
--cc=hyun.kwon@xilinx.com \
--cc=javier@osg.samsung.com \
--cc=k.kozlowski@samsung.com \
--cc=kgene@kernel.org \
--cc=kyungmin.park@samsung.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=prabhakar.csengg@gmail.com \
--cc=s.nawrocki@samsung.com \
--cc=soren.brinkmann@xilinx.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 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.