From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: Herring Robert <R.Herring@freescale.com>
Cc: linux-fbdev-devel@lists.sourceforge.net, adaplas@gmail.com,
Sascha Hauer <s.hauer@pengutronix.de>,
linux-arm-kernel@lists.arm.linux.org.uk,
Dan Williams <dan.j.williams@intel.com>,
linux-kernel@vger.kernel.org
Subject: RE: [PATCH 3/4 v2] i.MX31: framebuffer driver
Date: Wed, 10 Dec 2008 17:47:57 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.64.0812101727270.4578@axis700.grange> (raw)
In-Reply-To: <DE2504B3A515524BBE6934369EFDC0DA06FBD5E8@az33exm20.fsl.freescale.net>
On Wed, 10 Dec 2008, Herring Robert wrote:
> You have obviously started with Freescale copyrighted GPL code, but you
> have not given credit or maintained our copyrights.
I did try to do this, at least in those files, which contain significant
portions of Freescale code. If you feel that I missed it in some specific
files please let me know, I'll happily add it, it was in no way my
intension to steal the authorschip. E.g.:
> > diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c
> > new file mode 100644
> > index 0000000..e8084ae
> > --- /dev/null
> > +++ b/drivers/video/mx3fb.c
> > @@ -0,0 +1,1843 @@
> > +/*
> > + * Copyright (C) 2008
> > + * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
> > + *
> > + * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
...
> > +MODULE_AUTHOR("Freescale Semiconductor, Inc.");
...
>From IPU IDMAC driver:
diff --git a/drivers/mfd/ipu/ipu_idmac.c b/drivers/mfd/ipu/ipu_idmac.c
new file mode 100644
index 0000000..939acbf
--- /dev/null
+++ b/drivers/mfd/ipu/ipu_idmac.c
@@ -0,0 +1,1617 @@
+/*
+ * Copyright (C) 2008
+ * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
+ *
+ * Copyright (C) 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved.
Please tell me in which other files and in which form you'd like to see
Freescale mentioned.
> The way you have structured the code moving the low-level SDC setup to
> the framebuffer will cause problems. There are lots of inter-module
> dependencies that have to be handled in the correct order to avoid
> hanging the h/w. For example, the SDC BG_EN has to be cleared before
> disabling the IDMA channel.
I tried to preserve the hardware handling code and the calling sequence.
For example, I think, this is exactly what I do in this driver -
sdc_disable_channel() first calls sdc_fb_uninit(), which clears the
SDC_COM_FG_EN bit in SDC_COM_CONF, and then idmac_terminate_all() is
called, which disables the IDMAC channel. Or have I understood you wrong?
> This structure will also not allow reuse of framebuffer, camera, and
> v4l2 output drivers with the next version of h/w.
Why? All the generic (IDMAC, interrupt controller) code is put in a
separate driver under drivers/mfd/ipu (see my patch 2/4), and only
Synchronous Display Controller and Display Interface handling code is in
the framebuffer driver. And the generic code is also used by the camera
driver, whose second version is also going to be submitted to the V4L list
soon. As for the "next version of h/w" - sorry, obviously I know nothing
about it, so I cannot programme for it.
Besides, please understand, that I can develop and submit only parts that
I test. Having no smart displays I cannot develop, test and submit
Asynchronous Display Controller code, etc.
May I also note, that if Freescale made the effort and integrated their
sources into the mainline, we wouldn't have this discussion now, the code
would be structured the way you see best (as long as it is accepted by the
maintainers) and would support any versions of hardware you like.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
next prev parent reply other threads:[~2008-12-10 16:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 10:35 [PATCH 0/4 v2] i.MX31: dmaengine and framebuffer drivers Guennadi Liakhovetski
2008-12-10 10:36 ` [PATCH 1/4 v2] dmaengine: add a tx_free method to struct dma_async_tx_descriptor Guennadi Liakhovetski
2008-12-10 19:58 ` Dan Williams
2008-12-11 0:30 ` Guennadi Liakhovetski
2008-12-11 2:01 ` Dan Williams
2008-12-11 15:55 ` Guennadi Liakhovetski
2008-12-11 16:43 ` Dan Williams
2008-12-11 16:56 ` Guennadi Liakhovetski
2008-12-10 10:36 ` [PATCH 2/4 v2] i.MX31: Image Processing Unit DMA and IRQ drivers Guennadi Liakhovetski
2008-12-10 13:26 ` Dmitry Krivoschekov
2008-12-10 13:49 ` Guennadi Liakhovetski
2008-12-10 10:36 ` [PATCH 3/4 v2] i.MX31: framebuffer driver Guennadi Liakhovetski
2008-12-10 16:23 ` Herring Robert
2008-12-10 16:47 ` Guennadi Liakhovetski [this message]
2008-12-11 1:32 ` Herring Robert
2008-12-10 10:36 ` [PATCH 4/4 v2] i.MX31: platform bindings and initialisation for IPU and framebuffer drivers Guennadi Liakhovetski
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=Pine.LNX.4.64.0812101727270.4578@axis700.grange \
--to=g.liakhovetski@gmx.de \
--cc=R.Herring@freescale.com \
--cc=adaplas@gmail.com \
--cc=dan.j.williams@intel.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
/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
all inboxes | Powered by JetHome®