linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* A200 driver submission for Linux mainline kernel
@ 2018-04-10  7:30 abhijit
  0 siblings, 0 replies; 5+ messages in thread
From: abhijit @ 2018-04-10  7:30 UTC (permalink / raw)
  To: linux-arm-kernel

Hi All,

I have tested A200/Z430 3D driver for Freescale IMX535/537 SoC by using 
port from freedreno. I wanted to submit driver patch to linux 4.14.1 for 
mainlining A200 driver support

Currently w.r.t 4.14.1 kernel, the patch has, 109 files changes, 279170 
insertions, 60 deletions

Major part of the code is taken from A200 support from Freescale Linux 
(2.6.35, 
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_2.6.35)

My question was, can I submit the patch for Linux 4.14.1 kernel for 
mainlining purpose instead of linux-next?

Please point me to any case-study where such huge enhancements were 
mainlined in the past.

Any suggestions for optimizing the mainlining process?

Regards,

 ?? Abhijit

^ permalink raw reply	[flat|nested] 5+ messages in thread

* A200 driver submission for Linux mainline kernel
@ 2018-04-10  7:58 abhijit
  2018-04-10  9:11 ` Lucas Stach
  2018-04-10 13:01 ` Fabio Estevam
  0 siblings, 2 replies; 5+ messages in thread
From: abhijit @ 2018-04-10  7:58 UTC (permalink / raw)
  To: linux-arm-kernel

Hi All,

I have tested A200/Z430 3D driver for Freescale IMX535/537 SoC by using 
port from freedreno. I wanted to submit driver patch to linux 4.14.1 for 
mainlining A200 driver support

Currently w.r.t 4.14.1 kernel, the patch has, 109 files changes, 279170 
insertions, 60 deletions

Major part of the code is taken from A200 support from Freescale Linux 
(2.6.35, 
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_2.6.35)

My question was, can I submit the patch for Linux 4.14.1 kernel for 
mainlining purpose instead of linux-next?

Please point me to any case-study where such huge enhancements were 
mainlined in the past.

Any suggestions for optimizing the mainlining process?


Sorry for re-post as I sent earlier mail in html

Regards,
 ?? Abhijit

^ permalink raw reply	[flat|nested] 5+ messages in thread

* A200 driver submission for Linux mainline kernel
  2018-04-10  7:58 abhijit
@ 2018-04-10  9:11 ` Lucas Stach
  2018-04-10 11:30   ` abhijit
  2018-04-10 13:01 ` Fabio Estevam
  1 sibling, 1 reply; 5+ messages in thread
From: Lucas Stach @ 2018-04-10  9:11 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Abhijit,

Am Dienstag, den 10.04.2018, 13:28 +0530 schrieb abhijit:
> Hi All,
> 
> I have tested A200/Z430 3D driver for Freescale IMX535/537 SoC by using?
> port from freedreno. I wanted to submit driver patch to linux 4.14.1 for?
> mainlining A200 driver support
> 
> Currently w.r.t 4.14.1 kernel, the patch has, 109 files changes, 279170?
> insertions, 60 deletions
> 
> Major part of the code is taken from A200 support from Freescale Linux?
> (2.6.35,?
> http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_2.6.35)
> 
> My question was, can I submit the patch for Linux 4.14.1 kernel for?
> mainlining purpose instead of linux-next?
> 
> Please point me to any case-study where such huge enhancements were?
> mainlined in the past.
> 
> Any suggestions for optimizing the mainlining process?

The downstream driver will not be acceptable to mainline. It's not just
the size of the driver itself, but it's just full of cruft and doesn't
integrate with any of the modern kernel frameworks.

If you are going to mainline this driver, it likely needs a full
rewrite as a proper DRM driver, with a userspace interface sanctioned
by the Linux DRM community.

Regards,
Lucas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* A200 driver submission for Linux mainline kernel
  2018-04-10  9:11 ` Lucas Stach
@ 2018-04-10 11:30   ` abhijit
  0 siblings, 0 replies; 5+ messages in thread
From: abhijit @ 2018-04-10 11:30 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Lucas,

Thank you very much for reply.

The driver is already integrated with new kernel frame-work and tested 
with 4.14.1 kernel with KGSL interface.

There are some patches for MESA and libdrm patches though

I am planning for pushing MESA and DRM patches later. Are you implying 
to push MESA and libdrm specific changes first?

Regards,

 ? Abhijit


On Tuesday 10 April 2018 02:41 PM, Lucas Stach wrote:
> Hi Abhijit,
>
> Am Dienstag, den 10.04.2018, 13:28 +0530 schrieb abhijit:
>> Hi All,
>>
>> I have tested A200/Z430 3D driver for Freescale IMX535/537 SoC by using
>> port from freedreno. I wanted to submit driver patch to linux 4.14.1 for
>> mainlining A200 driver support
>>
>> Currently w.r.t 4.14.1 kernel, the patch has, 109 files changes, 279170
>> insertions, 60 deletions
>>
>> Major part of the code is taken from A200 support from Freescale Linux
>> (2.6.35,
>> http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_2.6.35)
>>
>> My question was, can I submit the patch for Linux 4.14.1 kernel for
>> mainlining purpose instead of linux-next?
>>
>> Please point me to any case-study where such huge enhancements were
>> mainlined in the past.
>>
>> Any suggestions for optimizing the mainlining process?
> The downstream driver will not be acceptable to mainline. It's not just
> the size of the driver itself, but it's just full of cruft and doesn't
> integrate with any of the modern kernel frameworks.
>
> If you are going to mainline this driver, it likely needs a full
> rewrite as a proper DRM driver, with a userspace interface sanctioned
> by the Linux DRM community.
>
> Regards,
> Lucas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* A200 driver submission for Linux mainline kernel
  2018-04-10  7:58 abhijit
  2018-04-10  9:11 ` Lucas Stach
@ 2018-04-10 13:01 ` Fabio Estevam
  1 sibling, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2018-04-10 13:01 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Abhijit,

On Tue, Apr 10, 2018 at 4:58 AM, abhijit <abhijitnaik27@gmail.com> wrote:
> Hi All,
>
> I have tested A200/Z430 3D driver for Freescale IMX535/537 SoC by using port
> from freedreno. I wanted to submit driver patch to linux 4.14.1 for
> mainlining A200 driver support
>
> Currently w.r.t 4.14.1 kernel, the patch has, 109 files changes, 279170
> insertions, 60 deletions
>
> Major part of the code is taken from A200 support from Freescale Linux
> (2.6.35,
> http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_2.6.35)
>
> My question was, can I submit the patch for Linux 4.14.1 kernel for
> mainlining purpose instead of linux-next?

As you are adding a new feature, it is better to base your work
against linux-next or against 4.17-rc1 when it becomes available.

> Please point me to any case-study where such huge enhancements were
> mainlined in the past.

You can take a look at:

commit a8c21a5451d831e67b7a6fb910f9ca8bc7b43554
Author: The etnaviv authors <dri-devel@lists.freedesktop.org>
Date:   Thu Dec 3 18:21:29 2015 +0100

    drm/etnaviv: add initial etnaviv DRM driver

    This adds the etnaviv DRM driver and hooks it up in Makefiles
    and Kconfig.

    Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-10 13:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-10  7:30 A200 driver submission for Linux mainline kernel abhijit
  -- strict thread matches above, loose matches on Subject: below --
2018-04-10  7:58 abhijit
2018-04-10  9:11 ` Lucas Stach
2018-04-10 11:30   ` abhijit
2018-04-10 13:01 ` Fabio Estevam

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).