[korg]help: How to submit a kernel driver on kernel.org.

2012-03-13 Thread Aaron.Chen 陈俊杰
Hi Ilija,

Thank you for your reply. We will check the coding style next time.

I don't know about the license thing. Is there any different license for 
choosing?

Regards
Aaron

--
???: Ilija Hadzic [mailto:ihadzic at research.bell-labs.com] 
: 2012?3?10? 0:30
???: Aaron.Chen ???
??: Paul Menzel; Alex Deucher; dri-devel at lists.freedesktop.org; caesar.qiu 
???
??: Re: ??: [korg]help: How to submit a kernel driver on kernel.org.


A couple of non-technical things. First, I think you are sending the patch 
to the wrong list. dri-devel is for drivers that go under drivers/gpu/drm. 
Your driver is apparently fbdev driver and thus belongs to 
linux-fbdev at vger.kernel.org list (see the Maintainers file)

Second, your patch generates about 9000 coding style errors when you run 
through ./scripts/checkpatch.pl script available in the Linux kernel tree. 
You need to clean up. See also Documentation/CodingStyle. Also, you must 
break up the patch into smaller self-contained units that logically make 
sense. Nobody can review 17000 lines of code in one shot.

Last, but probably the most important. All your files have the proprietary 
license in the comment overhead. You (actually your company lawyers) have 
to decide which license you are releasing this dirver under and make sure 
it is compatible with Linux kernel (i.e. GPL) and you have to state that 
in each file that is being added.

-- Ilija


On Fri, 9 Mar 2012, [utf-8] Aaron.Chen  ~Y~H~J~] wrote:

> Hi Paul,
>
> Thank you very much for your great help.
>
> Here is the first patch.
>
> Regards
> Aaron
>
> --
> ???: Paul Menzel [mailto:paulepanter at users.sourceforge.net]
> : 2012?3?6? 22:38
> ???: Alex Deucher
> ??: Aaron.Chen ???; caesar.qiu ???; dri-devel at lists.freedesktop.org
> ??: Re: [korg]help: How to submit a kernel driver on kernel.org.
>
> Dear Aaron,
>
>
> Am Dienstag, den 06.03.2012, 08:47 -0500 schrieb Alex Deucher:
>> On Mon, Mar 5, 2012 at 11:13 PM, Aaron.Chen  ??? wrote:
>
>>> Thank you very much for your guide. It's a great help for me.
>>>
>>> But I still have a little problem with the patch thing. I'm not familiar 
>>> with the git.
>>> 1.Shall I need to do the clone and get the source location and target 
>>> directory first?
>>> 2.Where is the source location and target directory?
>>> 3.Our driver has pass the customer's test from kernel version 2.6.5 to 
>>> 3.0.0, So what shall I do to submit a driver cover all these kernel version.
>
> you can only get new features included upstream in the latest Linux kernel. 
> So earliest version would be 3.4. You have to maintain you own repository for 
> earlier version. But backporting should be not so much trouble if you have it 
> included upstream.
>
>>> 4.or just email you the source code and tell you the changes?
>>>
>>> I'm looking forward your re-guide. Thank you so much.
>>
>> Your best bet it to clone Linus' git tree and then apply your patches:
>>
>> 1. clone Linus' git tree:
>> git clone
>> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>
> you can do this in between.
>
>cd linux
>git config --global user.name "??? (Aaron Chen)"
>git config --global user.email aaron.chen at siliconmotion.com
>
>> 2.a) apply your first patch
>>b)  if you patch adds new files to the source tree, add them:
>> git add path/to/files/file.c
>> git add path/to/files/file.h
>> etc.  if the patch only modifies patches that are already
>> in the tree, you do not need to add them.
>>c) when the patch is applied commit it:
>>git commit -a -s
>>d) when you run the commit command you will be prompted to
>> enter a commit message.  The commit message has the following format:
>>
>> subsystem: patch description
>>
>> description of what the patch does.
>>
>> Signed-off-by: Your name 
>>
>> E.g.,
>>
>> fb: add initial code for video 5000 graphics
>>
>> This adds the initial support for the video 5000 graphics adapter.  It
>> supports vga and lcd connectors.
>>
>> Signed-off-by: Joe Developer 
>>
>> e) repeat steps a-d for all of your patches 3. generate patches:
>> git format-patch -n
>>
>> where n is the number of patches you committed.  E.g., if your driver
>> consists of 5 patches:
>> git format-patch -5
>>
>> 4. Send the patches to the list.
>
> Aaron, Git is nowadays documented pretty well. So just use
>
>git help command
>
> (like `git help commit`) to read the manual. Additionally you can just search 
> for it using your favorite search engine. Interesting reads should be 
> [1][2][3].
>
>
> Thanks,
>
> Paul
>
>
> [1] http://schacon.github.com/git/user-manual.html#cleaning-up-history
> [2] http://git-scm.com/documentation
> [3] http://progit.org/book/
>


Re: Re: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-13 Thread Aaron . Chen 陈俊杰
Hi Ilija,

Thank you for your reply. We will check the coding style next time.

I don't know about the license thing. Is there any different license for 
choosing?

Regards
Aaron

-邮件原件-
发件人: Ilija Hadzic [mailto:ihad...@research.bell-labs.com] 
发送时间: 2012年3月10日 0:30
收件人: Aaron.Chen 陈俊杰
抄送: Paul Menzel; Alex Deucher; dri-devel@lists.freedesktop.org; caesar.qiu 裘赛海
主题: Re: 答复: [korg]help: How to submit a kernel driver on kernel.org.


A couple of non-technical things. First, I think you are sending the patch 
to the wrong list. dri-devel is for drivers that go under drivers/gpu/drm. 
Your driver is apparently fbdev driver and thus belongs to 
linux-fb...@vger.kernel.org list (see the Maintainers file)

Second, your patch generates about 9000 coding style errors when you run 
through ./scripts/checkpatch.pl script available in the Linux kernel tree. 
You need to clean up. See also Documentation/CodingStyle. Also, you must 
break up the patch into smaller self-contained units that logically make 
sense. Nobody can review 17000 lines of code in one shot.

Last, but probably the most important. All your files have the proprietary 
license in the comment overhead. You (actually your company lawyers) have 
to decide which license you are releasing this dirver under and make sure 
it is compatible with Linux kernel (i.e. GPL) and you have to state that 
in each file that is being added.

-- Ilija


On Fri, 9 Mar 2012, [utf-8] Aaron.Chen  ~Y~H~J~] wrote:

 Hi PaulAlex,

 Thank you very much for your great help.

 Here is the first patch.

 Regards
 Aaron

 -邮件原件-
 发件人: Paul Menzel [mailto:paulepan...@users.sourceforge.net]
 发送时间: 2012年3月6日 22:38
 收件人: Alex Deucher
 抄送: Aaron.Chen 陈俊杰; caesar.qiu 裘赛海; dri-devel@lists.freedesktop.org
 主题: Re: [korg]help: How to submit a kernel driver on kernel.org.

 Dear Aaron,


 Am Dienstag, den 06.03.2012, 08:47 -0500 schrieb Alex Deucher:
 On Mon, Mar 5, 2012 at 11:13 PM, Aaron.Chen  陈俊杰 wrote:

 Thank you very much for your guide. It's a great help for me.

 But I still have a little problem with the patch thing. I'm not familiar 
 with the git.
 1.Shall I need to do the clone and get the source location and target 
 directory first?
 2.Where is the source location and target directory?
 3.Our driver has pass the customer's test from kernel version 2.6.5 to 
 3.0.0, So what shall I do to submit a driver cover all these kernel version.

 you can only get new features included upstream in the latest Linux kernel. 
 So earliest version would be 3.4. You have to maintain you own repository for 
 earlier version. But backporting should be not so much trouble if you have it 
 included upstream.

 4.or just email you the source code and tell you the changes?

 I'm looking forward your re-guide. Thank you so much.

 Your best bet it to clone Linus' git tree and then apply your patches:

 1. clone Linus' git tree:
 git clone
 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

 you can do this in between.

cd linux
git config --global user.name 陈俊杰 (Aaron Chen)
git config --global user.email aaron.c...@siliconmotion.com

 2.a) apply your first patch
b)  if you patch adds new files to the source tree, add them:
 git add path/to/files/file.c
 git add path/to/files/file.h
 etc.  if the patch only modifies patches that are already
 in the tree, you do not need to add them.
c) when the patch is applied commit it:
git commit -a -s
d) when you run the commit command you will be prompted to
 enter a commit message.  The commit message has the following format:

 subsystem: patch description

 description of what the patch does.

 Signed-off-by: Your name your_em...@domain.com

 E.g.,

 fb: add initial code for video 5000 graphics

 This adds the initial support for the video 5000 graphics adapter.  It
 supports vga and lcd connectors.

 Signed-off-by: Joe Developer joe.develo...@example.com

 e) repeat steps a-d for all of your patches 3. generate patches:
 git format-patch -n

 where n is the number of patches you committed.  E.g., if your driver
 consists of 5 patches:
 git format-patch -5

 4. Send the patches to the list.

 Aaron, Git is nowadays documented pretty well. So just use

git help command

 (like `git help commit`) to read the manual. Additionally you can just search 
 for it using your favorite search engine. Interesting reads should be 
 [1][2][3].


 Thanks,

 Paul


 [1] http://schacon.github.com/git/user-manual.html#cleaning-up-history
 [2] http://git-scm.com/documentation
 [3] http://progit.org/book/

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


答复: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-09 Thread Aaron.Chen 陈俊杰
Hi Paul,

Thank you very much for your great help.

Here is the first patch.

Regards
Aaron

--
???: Paul Menzel [mailto:paulepanter at users.sourceforge.net] 
: 2012?3?6? 22:38
???: Alex Deucher
??: Aaron.Chen ???; caesar.qiu ???; dri-devel at lists.freedesktop.org
??: Re: [korg]help: How to submit a kernel driver on kernel.org.

Dear Aaron,


Am Dienstag, den 06.03.2012, 08:47 -0500 schrieb Alex Deucher:
> On Mon, Mar 5, 2012 at 11:13 PM, Aaron.Chen  ??? wrote:

> > Thank you very much for your guide. It's a great help for me.
> >
> > But I still have a little problem with the patch thing. I'm not familiar 
> > with the git.
> > 1.Shall I need to do the clone and get the source location and target 
> > directory first?
> > 2.Where is the source location and target directory?
> > 3.Our driver has pass the customer's test from kernel version 2.6.5 to 
> > 3.0.0, So what shall I do to submit a driver cover all these kernel version.

you can only get new features included upstream in the latest Linux kernel. So 
earliest version would be 3.4. You have to maintain you own repository for 
earlier version. But backporting should be not so much trouble if you have it 
included upstream.

> > 4.or just email you the source code and tell you the changes?
> >
> > I'm looking forward your re-guide. Thank you so much.
> 
> Your best bet it to clone Linus' git tree and then apply your patches:
> 
> 1. clone Linus' git tree:
> git clone 
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

you can do this in between.

cd linux
git config --global user.name "??? (Aaron Chen)"
git config --global user.email aaron.chen at siliconmotion.com

> 2.a) apply your first patch
>b)  if you patch adds new files to the source tree, add them:
> git add path/to/files/file.c
> git add path/to/files/file.h
> etc.  if the patch only modifies patches that are already 
> in the tree, you do not need to add them.
>c) when the patch is applied commit it:
>git commit -a -s
>d) when you run the commit command you will be prompted to 
> enter a commit message.  The commit message has the following format:
> 
> subsystem: patch description
> 
> description of what the patch does.
> 
> Signed-off-by: Your name 
> 
> E.g.,
> 
> fb: add initial code for video 5000 graphics
> 
> This adds the initial support for the video 5000 graphics adapter.  It 
> supports vga and lcd connectors.
> 
> Signed-off-by: Joe Developer 
> 
> e) repeat steps a-d for all of your patches 3. generate patches:
> git format-patch -n
> 
> where n is the number of patches you committed.  E.g., if your driver 
> consists of 5 patches:
> git format-patch -5
> 
> 4. Send the patches to the list.

Aaron, Git is nowadays documented pretty well. So just use

git help command

(like `git help commit`) to read the manual. Additionally you can just search 
for it using your favorite search engine. Interesting reads should be [1][2][3].


Thanks,

Paul


[1] http://schacon.github.com/git/user-manual.html#cleaning-up-history
[2] http://git-scm.com/documentation
[3] http://progit.org/book/
-- next part --
A non-text attachment was scrubbed...
Name: 0001-fb-add-initial-code-for-smi-graphics.patch
Type: application/octet-stream
Size: 688721 bytes
Desc: 0001-fb-add-initial-code-for-smi-graphics.patch
URL: 



答复: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-09 Thread Ilija Hadzic

A couple of non-technical things. First, I think you are sending the patch 
to the wrong list. dri-devel is for drivers that go under drivers/gpu/drm. 
Your driver is apparently fbdev driver and thus belongs to 
linux-fbdev at vger.kernel.org list (see the Maintainers file)

Second, your patch generates about 9000 coding style errors when you run 
through ./scripts/checkpatch.pl script available in the Linux kernel tree. 
You need to clean up. See also Documentation/CodingStyle. Also, you must 
break up the patch into smaller self-contained units that logically make 
sense. Nobody can review 17000 lines of code in one shot.

Last, but probably the most important. All your files have the proprietary 
license in the comment overhead. You (actually your company lawyers) have 
to decide which license you are releasing this dirver under and make sure 
it is compatible with Linux kernel (i.e. GPL) and you have to state that 
in each file that is being added.

-- Ilija


On Fri, 9 Mar 2012, [utf-8] Aaron.Chen  ?~Y~H??~J?~]? wrote:

> Hi Paul,
>
> Thank you very much for your great help.
>
> Here is the first patch.
>
> Regards
> Aaron
>
> --
> ?: Paul Menzel [mailto:paulepanter at users.sourceforge.net]
> : 2012???3???6??? 22:38
> ?: Alex Deucher
> ??: Aaron.Chen ?; caesar.qiu ?; dri-devel at 
> lists.freedesktop.org
> ??: Re: [korg]help: How to submit a kernel driver on kernel.org.
>
> Dear Aaron,
>
>
> Am Dienstag, den 06.03.2012, 08:47 -0500 schrieb Alex Deucher:
>> On Mon, Mar 5, 2012 at 11:13 PM, Aaron.Chen  ? wrote:
>
>>> Thank you very much for your guide. It's a great help for me.
>>>
>>> But I still have a little problem with the patch thing. I'm not familiar 
>>> with the git.
>>> 1.Shall I need to do the clone and get the source location and target 
>>> directory first?
>>> 2.Where is the source location and target directory?
>>> 3.Our driver has pass the customer's test from kernel version 2.6.5 to 
>>> 3.0.0, So what shall I do to submit a driver cover all these kernel version.
>
> you can only get new features included upstream in the latest Linux kernel. 
> So earliest version would be 3.4. You have to maintain you own repository for 
> earlier version. But backporting should be not so much trouble if you have it 
> included upstream.
>
>>> 4.or just email you the source code and tell you the changes?
>>>
>>> I'm looking forward your re-guide. Thank you so much.
>>
>> Your best bet it to clone Linus' git tree and then apply your patches:
>>
>> 1. clone Linus' git tree:
>> git clone
>> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>
> you can do this in between.
>
>cd linux
>git config --global user.name "? (Aaron Chen)"
>git config --global user.email aaron.chen at siliconmotion.com
>
>> 2.a) apply your first patch
>>b)  if you patch adds new files to the source tree, add them:
>> git add path/to/files/file.c
>> git add path/to/files/file.h
>> etc.  if the patch only modifies patches that are already
>> in the tree, you do not need to add them.
>>c) when the patch is applied commit it:
>>git commit -a -s
>>d) when you run the commit command you will be prompted to
>> enter a commit message.  The commit message has the following format:
>>
>> subsystem: patch description
>>
>> description of what the patch does.
>>
>> Signed-off-by: Your name 
>>
>> E.g.,
>>
>> fb: add initial code for video 5000 graphics
>>
>> This adds the initial support for the video 5000 graphics adapter.  It
>> supports vga and lcd connectors.
>>
>> Signed-off-by: Joe Developer 
>>
>> e) repeat steps a-d for all of your patches 3. generate patches:
>> git format-patch -n
>>
>> where n is the number of patches you committed.  E.g., if your driver
>> consists of 5 patches:
>> git format-patch -5
>>
>> 4. Send the patches to the list.
>
> Aaron, Git is nowadays documented pretty well. So just use
>
>git help command
>
> (like `git help commit`) to read the manual. Additionally you can just search 
> for it using your favorite search engine. Interesting reads should be 
> [1][2][3].
>
>
> Thanks,
>
> Paul
>
>
> [1] http://schacon.github.com/git/user-manual.html#cleaning-up-history
> [2] http://git-scm.com/documentation
> [3] http://progit.org/book/
>


Re: 答复: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-09 Thread Ilija Hadzic


A couple of non-technical things. First, I think you are sending the patch 
to the wrong list. dri-devel is for drivers that go under drivers/gpu/drm. 
Your driver is apparently fbdev driver and thus belongs to 
linux-fb...@vger.kernel.org list (see the Maintainers file)


Second, your patch generates about 9000 coding style errors when you run 
through ./scripts/checkpatch.pl script available in the Linux kernel tree. 
You need to clean up. See also Documentation/CodingStyle. Also, you must 
break up the patch into smaller self-contained units that logically make 
sense. Nobody can review 17000 lines of code in one shot.


Last, but probably the most important. All your files have the proprietary 
license in the comment overhead. You (actually your company lawyers) have 
to decide which license you are releasing this dirver under and make sure 
it is compatible with Linux kernel (i.e. GPL) and you have to state that 
in each file that is being added.


-- Ilija


On Fri, 9 Mar 2012, [utf-8] Aaron.Chen  ?~Y~H??~J?~]? wrote:


Hi PaulAlex,

Thank you very much for your great help.

Here is the first patch.

Regards
Aaron

--
?: Paul Menzel [mailto:paulepan...@users.sourceforge.net]
: 2012???3???6??? 22:38
?: Alex Deucher
??: Aaron.Chen ?; caesar.qiu ?; 
dri-devel@lists.freedesktop.org
??: Re: [korg]help: How to submit a kernel driver on kernel.org.

Dear Aaron,


Am Dienstag, den 06.03.2012, 08:47 -0500 schrieb Alex Deucher:

On Mon, Mar 5, 2012 at 11:13 PM, Aaron.Chen  ? wrote:



Thank you very much for your guide. It's a great help for me.

But I still have a little problem with the patch thing. I'm not familiar with 
the git.
1.Shall I need to do the clone and get the source location and target directory 
first?
2.Where is the source location and target directory?
3.Our driver has pass the customer's test from kernel version 2.6.5 to 3.0.0, 
So what shall I do to submit a driver cover all these kernel version.


you can only get new features included upstream in the latest Linux kernel. So 
earliest version would be 3.4. You have to maintain you own repository for 
earlier version. But backporting should be not so much trouble if you have it 
included upstream.


4.or just email you the source code and tell you the changes?

I'm looking forward your re-guide. Thank you so much.


Your best bet it to clone Linus' git tree and then apply your patches:

1. clone Linus' git tree:
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


you can do this in between.

   cd linux
   git config --global user.name ? (Aaron Chen)
   git config --global user.email aaron.c...@siliconmotion.com


2.a) apply your first patch
   b)  if you patch adds new files to the source tree, add them:
git add path/to/files/file.c
git add path/to/files/file.h
etc.  if the patch only modifies patches that are already
in the tree, you do not need to add them.
   c) when the patch is applied commit it:
   git commit -a -s
   d) when you run the commit command you will be prompted to
enter a commit message.  The commit message has the following format:

subsystem: patch description

description of what the patch does.

Signed-off-by: Your name your_em...@domain.com

E.g.,

fb: add initial code for video 5000 graphics

This adds the initial support for the video 5000 graphics adapter.  It
supports vga and lcd connectors.

Signed-off-by: Joe Developer joe.develo...@example.com

e) repeat steps a-d for all of your patches 3. generate patches:
git format-patch -n

where n is the number of patches you committed.  E.g., if your driver
consists of 5 patches:
git format-patch -5

4. Send the patches to the list.


Aaron, Git is nowadays documented pretty well. So just use

   git help command

(like `git help commit`) to read the manual. Additionally you can just search 
for it using your favorite search engine. Interesting reads should be [1][2][3].


Thanks,

Paul


[1] http://schacon.github.com/git/user-manual.html#cleaning-up-history
[2] http://git-scm.com/documentation
[3] http://progit.org/book/
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[korg]help: How to submit a kernel driver on kernel.org.

2012-03-06 Thread Paul Menzel
Dear Aaron,


Am Dienstag, den 06.03.2012, 08:47 -0500 schrieb Alex Deucher:
> On Mon, Mar 5, 2012 at 11:13 PM, Aaron.Chen  ??? wrote:

> > Thank you very much for your guide. It's a great help for me.
> >
> > But I still have a little problem with the patch thing. I'm not familiar 
> > with the git.
> > 1.Shall I need to do the clone and get the source location and target 
> > directory first?
> > 2.Where is the source location and target directory?
> > 3.Our driver has pass the customer's test from kernel version 2.6.5 to 
> > 3.0.0, So what shall I do to submit a driver cover all these kernel version.

you can only get new features included upstream in the latest Linux
kernel. So earliest version would be 3.4. You have to maintain you own
repository for earlier version. But backporting should be not so much
trouble if you have it included upstream.

> > 4.or just email you the source code and tell you the changes?
> >
> > I'm looking forward your re-guide. Thank you so much.
> 
> Your best bet it to clone Linus' git tree and then apply your patches:
> 
> 1. clone Linus' git tree:
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

you can do this in between.

cd linux
git config --global user.name "??? (Aaron Chen)"
git config --global user.email aaron.chen at siliconmotion.com

> 2.a) apply your first patch
>b)  if you patch adds new files to the source tree, add them:
> git add path/to/files/file.c
> git add path/to/files/file.h
> etc.  if the patch only modifies patches that are already
> in the tree, you do not need to add them.
>c) when the patch is applied commit it:
>git commit -a -s
>d) when you run the commit command you will be prompted to
> enter a commit message.  The commit message has the following format:
> 
> subsystem: patch description
> 
> description of what the patch does.
> 
> Signed-off-by: Your name 
> 
> E.g.,
> 
> fb: add initial code for video 5000 graphics
> 
> This adds the initial support for the video 5000
> graphics adapter.  It supports vga and lcd connectors.
> 
> Signed-off-by: Joe Developer 
> 
> e) repeat steps a-d for all of your patches
> 3. generate patches:
> git format-patch -n
> 
> where n is the number of patches you committed.  E.g., if your driver
> consists of 5 patches:
> git format-patch -5
> 
> 4. Send the patches to the list.

Aaron, Git is nowadays documented pretty well. So just use

git help command

(like `git help commit`) to read the manual. Additionally you can just
search for it using your favorite search engine. Interesting reads
should be [1][2][3].


Thanks,

Paul


[1] http://schacon.github.com/git/user-manual.html#cleaning-up-history
[2] http://git-scm.com/documentation
[3] http://progit.org/book/
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: 



[korg]help: How to submit a kernel driver on kernel.org.

2012-03-06 Thread Aaron.Chen 陈俊杰
Hi Paul,

Our driver is a frambuffer driver and there's no DRM functions.

Regards
Aaron

--
???: Aaron.Chen ??? 
: 2012?3?6? 12:14
???: 'Paul Menzel'; Jerome Glisse
??: dri-devel at lists.freedesktop.org; caesar.qiu ???
??: Re: [korg]help: How to submit a kernel driver on kernel.org.

Hi Paul,

Thank you very much for your guide. It's a great help for me.

But I still have a little problem with the patch thing. I'm not familiar with 
the git.
1.Shall I need to do the clone and get the source location and target directory 
first? 
2.Where is the source location and target directory?
3.Our driver has pass the customer's test from kernel version 2.6.5 to 3.0.0, 
So what shall I do to submit a driver cover all these kernel version.
4.or just email you the source code and tell you the changes?

I'm looking forward your re-guide. Thank you so much.

Regards
Aaron


--
???: Paul Menzel [mailto:paulepanter at users.sourceforge.net] 
: 2012?3?2? 5:50
???: Jerome Glisse
??: Aaron.Chen ???; dri-devel at lists.freedesktop.org
??: Re: [korg]help: How to submit a kernel driver on kernel.org.

Dear Aaron,


thank you for contacting the list. We are looking forward to your patches.

Am Donnerstag, den 01.03.2012, 14:05 -0500 schrieb Jerome Glisse:
> On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen ??? wrote:

> > I?m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
> > Office. We have developed a kernel driver for all our graphics chips. We 
> > really want to know the way to submit a kernel driver to kernel.org. I have 
> > received a document file which is on 
> > http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
> > find out a place to where our drivers should be uploaded. The document say 
> > ?please submit it to the maintainer listed in MAINTAINERS in the kernel 
> > file.?So where can I find the maintainer and what to do next. Would you 
> > please help me. Thank you so much.

> All you need to do is send the kernel patch to 
> dri-devel at lists.freedesktop.org
> 
> So they can get reviewed. Once they are reviewed, and if they comply 
> with the requirement, the DRM maintainer (aka Dave) will integrate 
> your patch in his tree and at some point ask Linus to pull them.
> 
> There is no ftp, or http web submission, everything is done through 
> public mailing list.

if you are familiar with Git you should send a patch formatted using `git 
format-patch -15`. Replace the 15 by the number of commits you need patches for.

You can take a look in the archive. drm/exynos and drm/omap are good examples ? 
I think ? on how to get new drivers submitted.


Thanks,

Paul


PS: Please also try to follow the netiquette when posting to lists [1].
Especially just send plain text messages (no HTML).


[1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette


[korg]help: How to submit a kernel driver on kernel.org.

2012-03-06 Thread Aaron.Chen 陈俊杰
Hi Paul,

Thank you very much for your guide. It's a great help for me.

But I still have a little problem with the patch thing. I'm not familiar with 
the git.
1.Shall I need to do the clone and get the source location and target directory 
first? 
2.Where is the source location and target directory?
3.Our driver has pass the customer's test from kernel version 2.6.5 to 3.0.0, 
So what shall I do to submit a driver cover all these kernel version.
4.or just email you the source code and tell you the changes?

I'm looking forward your re-guide. Thank you so much.

Regards
Aaron


--
???: Paul Menzel [mailto:paulepanter at users.sourceforge.net] 
: 2012?3?2? 5:50
???: Jerome Glisse
??: Aaron.Chen ???; dri-devel at lists.freedesktop.org
??: Re: [korg]help: How to submit a kernel driver on kernel.org.

Dear Aaron,


thank you for contacting the list. We are looking forward to your patches.

Am Donnerstag, den 01.03.2012, 14:05 -0500 schrieb Jerome Glisse:
> On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen ??? wrote:

> > I?m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
> > Office. We have developed a kernel driver for all our graphics chips. We 
> > really want to know the way to submit a kernel driver to kernel.org. I have 
> > received a document file which is on 
> > http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
> > find out a place to where our drivers should be uploaded. The document say 
> > ?please submit it to the maintainer listed in MAINTAINERS in the kernel 
> > file.?So where can I find the maintainer and what to do next. Would you 
> > please help me. Thank you so much.

> All you need to do is send the kernel patch to 
> dri-devel at lists.freedesktop.org
> 
> So they can get reviewed. Once they are reviewed, and if they comply 
> with the requirement, the DRM maintainer (aka Dave) will integrate 
> your patch in his tree and at some point ask Linus to pull them.
> 
> There is no ftp, or http web submission, everything is done through 
> public mailing list.

if you are familiar with Git you should send a patch formatted using `git 
format-patch -15`. Replace the 15 by the number of commits you need patches for.

You can take a look in the archive. drm/exynos and drm/omap are good examples ? 
I think ? on how to get new drivers submitted.


Thanks,

Paul


PS: Please also try to follow the netiquette when posting to lists [1].
Especially just send plain text messages (no HTML).


[1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette


[korg]help: How to submit a kernel driver on kernel.org.

2012-03-06 Thread Alex Deucher
On Mon, Mar 5, 2012 at 11:13 PM, Aaron.Chen  ??
 wrote:
> Hi Paul,
>
> Thank you very much for your guide. It's a great help for me.
>
> But I still have a little problem with the patch thing. I'm not familiar with 
> the git.
> 1.Shall I need to do the clone and get the source location and target 
> directory first?
> 2.Where is the source location and target directory?
> 3.Our driver has pass the customer's test from kernel version 2.6.5 to 3.0.0, 
> So what shall I do to submit a driver cover all these kernel version.
> 4.or just email you the source code and tell you the changes?
>
> I'm looking forward your re-guide. Thank you so much.

Your best bet it to clone Linus' git tree and then apply your patches:

1. clone Linus' git tree:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
2.a) apply your first patch
   b)  if you patch adds new files to the source tree, add them:
git add path/to/files/file.c
git add path/to/files/file.h
etc.  if the patch only modifies patches that are already
in the tree, you do not need to add them.
   c) when the patch is applied commit it:
   git commit -a -s
   d) when you run the commit command you will be prompted to
enter a commit message.  The commit message has the following format:

subsystem: patch description

description of what the patch does.

Signed-off-by: Your name 

E.g.,

fb: add initial code for video 5000 graphics

This adds the initial support for the video 5000
graphics adapter.  It supports vga and lcd connectors.

Signed-off-by: Joe Developer 

e) repeat steps a-d for all of your patches
3. generate patches:
git format-patch -n

where n is the number of patches you committed.  E.g., if your driver
consists of 5 patches:
git format-patch -5

4. Send the patches to the list.

Alex

>
> Regards
> Aaron
>
>
> --
> ??: Paul Menzel [mailto:paulepanter at users.sourceforge.net]
> : 2012??3??2?? 5:50
> ??: Jerome Glisse
> : Aaron.Chen ??; dri-devel at lists.freedesktop.org
> : Re: [korg]help: How to submit a kernel driver on kernel.org.
>
> Dear Aaron,
>
>
> thank you for contacting the list. We are looking forward to your patches.
>
> Am Donnerstag, den 01.03.2012, 14:05 -0500 schrieb Jerome Glisse:
>> On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen ?? wrote:
>
>> > I??m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
>> > Office. We have developed a kernel driver for all our graphics chips. We 
>> > really want to know the way to submit a kernel driver to kernel.org. I 
>> > have received a document file which is on 
>> > http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
>> > find out a place to where our drivers should be uploaded. The document say 
>> > ??please submit it to the maintainer listed in MAINTAINERS in the kernel 
>> > file.??So where can I find the maintainer and what to do next. Would you 
>> > please help me. Thank you so much.
>
>> All you need to do is send the kernel patch to
>> dri-devel at lists.freedesktop.org
>>
>> So they can get reviewed. Once they are reviewed, and if they comply
>> with the requirement, the DRM maintainer (aka Dave) will integrate
>> your patch in his tree and at some point ask Linus to pull them.
>>
>> There is no ftp, or http web submission, everything is done through
>> public mailing list.
>
> if you are familiar with Git you should send a patch formatted using `git 
> format-patch -15`. Replace the 15 by the number of commits you need patches 
> for.
>
> You can take a look in the archive. drm/exynos and drm/omap are good examples 
> ?C I think ?C on how to get new drivers submitted.
>
>
> Thanks,
>
> Paul
>
>
> PS: Please also try to follow the netiquette when posting to lists [1].
> Especially just send plain text messages (no HTML).
>
>
> [1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette
> ___
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-06 Thread Alex Deucher
On Mon, Mar 5, 2012 at 11:13 PM, Aaron.Chen  陈俊杰
aaron.c...@siliconmotion.com wrote:
 Hi PaulJerome,

 Thank you very much for your guide. It's a great help for me.

 But I still have a little problem with the patch thing. I'm not familiar with 
 the git.
 1.Shall I need to do the clone and get the source location and target 
 directory first?
 2.Where is the source location and target directory?
 3.Our driver has pass the customer's test from kernel version 2.6.5 to 3.0.0, 
 So what shall I do to submit a driver cover all these kernel version.
 4.or just email you the source code and tell you the changes?

 I'm looking forward your re-guide. Thank you so much.

Your best bet it to clone Linus' git tree and then apply your patches:

1. clone Linus' git tree:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
2.a) apply your first patch
   b)  if you patch adds new files to the source tree, add them:
git add path/to/files/file.c
git add path/to/files/file.h
etc.  if the patch only modifies patches that are already
in the tree, you do not need to add them.
   c) when the patch is applied commit it:
   git commit -a -s
   d) when you run the commit command you will be prompted to
enter a commit message.  The commit message has the following format:

subsystem: patch description

description of what the patch does.

Signed-off-by: Your name your_em...@domain.com

E.g.,

fb: add initial code for video 5000 graphics

This adds the initial support for the video 5000
graphics adapter.  It supports vga and lcd connectors.

Signed-off-by: Joe Developer joe.develo...@example.com

e) repeat steps a-d for all of your patches
3. generate patches:
git format-patch -n

where n is the number of patches you committed.  E.g., if your driver
consists of 5 patches:
git format-patch -5

4. Send the patches to the list.

Alex


 Regards
 Aaron


 -邮件原件-
 发件人: Paul Menzel [mailto:paulepan...@users.sourceforge.net]
 发送时间: 2012年3月2日 5:50
 收件人: Jerome Glisse
 抄送: Aaron.Chen 陈俊杰; dri-devel@lists.freedesktop.org
 主题: Re: [korg]help: How to submit a kernel driver on kernel.org.

 Dear Aaron,


 thank you for contacting the list. We are looking forward to your patches.

 Am Donnerstag, den 01.03.2012, 14:05 -0500 schrieb Jerome Glisse:
 On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen 陈俊杰 wrote:

  I’m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
  Office. We have developed a kernel driver for all our graphics chips. We 
  really want to know the way to submit a kernel driver to kernel.org. I 
  have received a document file which is on 
  http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
  find out a place to where our drivers should be uploaded. The document say 
  “please submit it to the maintainer listed in MAINTAINERS in the kernel 
  file.”So where can I find the maintainer and what to do next. Would you 
  please help me. Thank you so much.

 All you need to do is send the kernel patch to
 dri-devel@lists.freedesktop.org

 So they can get reviewed. Once they are reviewed, and if they comply
 with the requirement, the DRM maintainer (aka Dave) will integrate
 your patch in his tree and at some point ask Linus to pull them.

 There is no ftp, or http web submission, everything is done through
 public mailing list.

 if you are familiar with Git you should send a patch formatted using `git 
 format-patch -15`. Replace the 15 by the number of commits you need patches 
 for.

 You can take a look in the archive. drm/exynos and drm/omap are good examples 
 �C I think �C on how to get new drivers submitted.


 Thanks,

 Paul


 PS: Please also try to follow the netiquette when posting to lists [1].
 Especially just send plain text messages (no HTML).


 [1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette
 ___
 dri-devel mailing list
 dri-devel@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/dri-devel
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-06 Thread Paul Menzel
Dear Aaron,


Am Dienstag, den 06.03.2012, 08:47 -0500 schrieb Alex Deucher:
 On Mon, Mar 5, 2012 at 11:13 PM, Aaron.Chen  陈俊杰 wrote:

  Thank you very much for your guide. It's a great help for me.
 
  But I still have a little problem with the patch thing. I'm not familiar 
  with the git.
  1.Shall I need to do the clone and get the source location and target 
  directory first?
  2.Where is the source location and target directory?
  3.Our driver has pass the customer's test from kernel version 2.6.5 to 
  3.0.0, So what shall I do to submit a driver cover all these kernel version.

you can only get new features included upstream in the latest Linux
kernel. So earliest version would be 3.4. You have to maintain you own
repository for earlier version. But backporting should be not so much
trouble if you have it included upstream.

  4.or just email you the source code and tell you the changes?
 
  I'm looking forward your re-guide. Thank you so much.
 
 Your best bet it to clone Linus' git tree and then apply your patches:
 
 1. clone Linus' git tree:
 git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

you can do this in between.

cd linux
git config --global user.name 陈俊杰 (Aaron Chen)
git config --global user.email aaron.c...@siliconmotion.com

 2.a) apply your first patch
b)  if you patch adds new files to the source tree, add them:
 git add path/to/files/file.c
 git add path/to/files/file.h
 etc.  if the patch only modifies patches that are already
 in the tree, you do not need to add them.
c) when the patch is applied commit it:
git commit -a -s
d) when you run the commit command you will be prompted to
 enter a commit message.  The commit message has the following format:
 
 subsystem: patch description
 
 description of what the patch does.
 
 Signed-off-by: Your name your_em...@domain.com
 
 E.g.,
 
 fb: add initial code for video 5000 graphics
 
 This adds the initial support for the video 5000
 graphics adapter.  It supports vga and lcd connectors.
 
 Signed-off-by: Joe Developer joe.develo...@example.com
 
 e) repeat steps a-d for all of your patches
 3. generate patches:
 git format-patch -n
 
 where n is the number of patches you committed.  E.g., if your driver
 consists of 5 patches:
 git format-patch -5
 
 4. Send the patches to the list.

Aaron, Git is nowadays documented pretty well. So just use

git help command

(like `git help commit`) to read the manual. Additionally you can just
search for it using your favorite search engine. Interesting reads
should be [1][2][3].


Thanks,

Paul


[1] http://schacon.github.com/git/user-manual.html#cleaning-up-history
[2] http://git-scm.com/documentation
[3] http://progit.org/book/


signature.asc
Description: This is a digitally signed message part
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-05 Thread Aaron . Chen 陈俊杰
Hi PaulJerome,

Thank you very much for your guide. It's a great help for me.

But I still have a little problem with the patch thing. I'm not familiar with 
the git.
1.Shall I need to do the clone and get the source location and target directory 
first? 
2.Where is the source location and target directory?
3.Our driver has pass the customer's test from kernel version 2.6.5 to 3.0.0, 
So what shall I do to submit a driver cover all these kernel version.
4.or just email you the source code and tell you the changes?

I'm looking forward your re-guide. Thank you so much.

Regards
Aaron


-邮件原件-
发件人: Paul Menzel [mailto:paulepan...@users.sourceforge.net] 
发送时间: 2012年3月2日 5:50
收件人: Jerome Glisse
抄送: Aaron.Chen 陈俊杰; dri-devel@lists.freedesktop.org
主题: Re: [korg]help: How to submit a kernel driver on kernel.org.

Dear Aaron,


thank you for contacting the list. We are looking forward to your patches.

Am Donnerstag, den 01.03.2012, 14:05 -0500 schrieb Jerome Glisse:
 On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen 陈俊杰 wrote:

  I’m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
  Office. We have developed a kernel driver for all our graphics chips. We 
  really want to know the way to submit a kernel driver to kernel.org. I have 
  received a document file which is on 
  http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
  find out a place to where our drivers should be uploaded. The document say 
  “please submit it to the maintainer listed in MAINTAINERS in the kernel 
  file.”So where can I find the maintainer and what to do next. Would you 
  please help me. Thank you so much.

 All you need to do is send the kernel patch to 
 dri-devel@lists.freedesktop.org
 
 So they can get reviewed. Once they are reviewed, and if they comply 
 with the requirement, the DRM maintainer (aka Dave) will integrate 
 your patch in his tree and at some point ask Linus to pull them.
 
 There is no ftp, or http web submission, everything is done through 
 public mailing list.

if you are familiar with Git you should send a patch formatted using `git 
format-patch -15`. Replace the 15 by the number of commits you need patches for.

You can take a look in the archive. drm/exynos and drm/omap are good examples – 
I think – on how to get new drivers submitted.


Thanks,

Paul


PS: Please also try to follow the netiquette when posting to lists [1].
Especially just send plain text messages (no HTML).


[1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-05 Thread Aaron . Chen 陈俊杰
Hi PaulJerome,

Our driver is a frambuffer driver and there's no DRM functions.

Regards
Aaron

-邮件原件-
发件人: Aaron.Chen 陈俊杰 
发送时间: 2012年3月6日 12:14
收件人: 'Paul Menzel'; Jerome Glisse
抄送: dri-devel@lists.freedesktop.org; caesar.qiu 裘赛海
主题: Re: [korg]help: How to submit a kernel driver on kernel.org.

Hi PaulJerome,

Thank you very much for your guide. It's a great help for me.

But I still have a little problem with the patch thing. I'm not familiar with 
the git.
1.Shall I need to do the clone and get the source location and target directory 
first? 
2.Where is the source location and target directory?
3.Our driver has pass the customer's test from kernel version 2.6.5 to 3.0.0, 
So what shall I do to submit a driver cover all these kernel version.
4.or just email you the source code and tell you the changes?

I'm looking forward your re-guide. Thank you so much.

Regards
Aaron


-邮件原件-
发件人: Paul Menzel [mailto:paulepan...@users.sourceforge.net] 
发送时间: 2012年3月2日 5:50
收件人: Jerome Glisse
抄送: Aaron.Chen 陈俊杰; dri-devel@lists.freedesktop.org
主题: Re: [korg]help: How to submit a kernel driver on kernel.org.

Dear Aaron,


thank you for contacting the list. We are looking forward to your patches.

Am Donnerstag, den 01.03.2012, 14:05 -0500 schrieb Jerome Glisse:
 On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen 陈俊杰 wrote:

  I’m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
  Office. We have developed a kernel driver for all our graphics chips. We 
  really want to know the way to submit a kernel driver to kernel.org. I have 
  received a document file which is on 
  http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
  find out a place to where our drivers should be uploaded. The document say 
  “please submit it to the maintainer listed in MAINTAINERS in the kernel 
  file.”So where can I find the maintainer and what to do next. Would you 
  please help me. Thank you so much.

 All you need to do is send the kernel patch to 
 dri-devel@lists.freedesktop.org
 
 So they can get reviewed. Once they are reviewed, and if they comply 
 with the requirement, the DRM maintainer (aka Dave) will integrate 
 your patch in his tree and at some point ask Linus to pull them.
 
 There is no ftp, or http web submission, everything is done through 
 public mailing list.

if you are familiar with Git you should send a patch formatted using `git 
format-patch -15`. Replace the 15 by the number of commits you need patches for.

You can take a look in the archive. drm/exynos and drm/omap are good examples – 
I think – on how to get new drivers submitted.


Thanks,

Paul


PS: Please also try to follow the netiquette when posting to lists [1].
Especially just send plain text messages (no HTML).


[1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[korg]help: How to submit a kernel driver on kernel.org.

2012-03-01 Thread Paul Menzel
Dear Aaron,


thank you for contacting the list. We are looking forward to your
patches.

Am Donnerstag, den 01.03.2012, 14:05 -0500 schrieb Jerome Glisse:
> On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen ??? wrote:

> > I?m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
> > Office. We have developed a kernel driver for all our graphics chips. We 
> > really want to know the way to submit a kernel driver to kernel.org. I have 
> > received a document file which is on 
> > http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
> > find out a place to where our drivers should be uploaded. The document say 
> > ?please submit it to the maintainer listed in MAINTAINERS in the kernel 
> > file.?So where can I find the maintainer and what to do next. Would you 
> > please help me. Thank you so much.

> All you need to do is send the kernel patch to
> dri-devel at lists.freedesktop.org
> 
> So they can get reviewed. Once they are reviewed, and if they comply
> with the requirement, the DRM maintainer (aka Dave) will integrate
> your patch in his tree and at some point ask Linus to pull them.
> 
> There is no ftp, or http web submission, everything is done through
> public mailing list.

if you are familiar with Git you should send a patch formatted using
`git format-patch -15`. Replace the 15 by the number of commits you need
patches for.

You can take a look in the archive. drm/exynos and drm/omap are good
examples ? I think ? on how to get new drivers submitted.


Thanks,

Paul


PS: Please also try to follow the netiquette when posting to lists [1].
Especially just send plain text messages (no HTML).


[1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: 



[korg]help: How to submit a kernel driver on kernel.org.

2012-03-01 Thread Jerome Glisse
On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen ??? wrote:
> Hi,
> 
>  
> 
> I?m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
> Office. We have developed a kernel driver for all our graphics chips. We 
> really want to know the way to submit a kernel driver to kernel.org. I have 
> received a document file which is on 
> http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
> find out a place to where our drivers should be uploaded. The document say 
> ?please submit it to the maintainer listed in MAINTAINERS in the kernel 
> file.?So where can I find the maintainer and what to do next. Would you 
> please help me. Thank you so much.
>  
> Regards
> Aaron

All you need to do is send the kernel patch to
dri-devel at lists.freedesktop.org

So they can get reviewed. Once they are reviewed, and if they comply
with the requirement, the DRM maintainer (aka Dave) will integrate
your patch in his tree and at some point ask Linus to pull them.

There is no ftp, or http web submission, everything is done through
public mailing list.

Cheers,
Jerome




[korg]help: How to submit a kernel driver on kernel.org.

2012-03-01 Thread Aaron . Chen 陈俊杰
Hi,

 

I’m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai Office. 
We have developed a kernel driver for all our graphics chips. We really want to 
know the way to submit a kernel driver to kernel.org. I have received a 
document file which is on 
http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot find 
out a place to where our drivers should be uploaded. The document say “please 
submit it to the maintainer listed in MAINTAINERS in the kernel file.”So where 
can I find the maintainer and what to do next. Would you please help me. Thank 
you so much.
 
Regards
Aaron

 

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-01 Thread Jerome Glisse
On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen 陈俊杰 wrote:
 Hi,
 
  
 
 I’m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
 Office. We have developed a kernel driver for all our graphics chips. We 
 really want to know the way to submit a kernel driver to kernel.org. I have 
 received a document file which is on 
 http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
 find out a place to where our drivers should be uploaded. The document say 
 “please submit it to the maintainer listed in MAINTAINERS in the kernel 
 file.”So where can I find the maintainer and what to do next. Would you 
 please help me. Thank you so much.
  
 Regards
 Aaron

All you need to do is send the kernel patch to
dri-devel@lists.freedesktop.org

So they can get reviewed. Once they are reviewed, and if they comply
with the requirement, the DRM maintainer (aka Dave) will integrate
your patch in his tree and at some point ask Linus to pull them.

There is no ftp, or http web submission, everything is done through
public mailing list.

Cheers,
Jerome


___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-01 Thread Paul Menzel
Dear Aaron,


thank you for contacting the list. We are looking forward to your
patches.

Am Donnerstag, den 01.03.2012, 14:05 -0500 schrieb Jerome Glisse:
 On Thu, 2012-03-01 at 14:28 +0800, Aaron.Chen 陈俊杰 wrote:

  I’m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai 
  Office. We have developed a kernel driver for all our graphics chips. We 
  really want to know the way to submit a kernel driver to kernel.org. I have 
  received a document file which is on 
  http://kernel.org/doc/Documentation/SubmittingDrivers, but I still cannot 
  find out a place to where our drivers should be uploaded. The document say 
  “please submit it to the maintainer listed in MAINTAINERS in the kernel 
  file.”So where can I find the maintainer and what to do next. Would you 
  please help me. Thank you so much.

 All you need to do is send the kernel patch to
 dri-devel@lists.freedesktop.org
 
 So they can get reviewed. Once they are reviewed, and if they comply
 with the requirement, the DRM maintainer (aka Dave) will integrate
 your patch in his tree and at some point ask Linus to pull them.
 
 There is no ftp, or http web submission, everything is done through
 public mailing list.

if you are familiar with Git you should send a patch formatted using
`git format-patch -15`. Replace the 15 by the number of commits you need
patches for.

You can take a look in the archive. drm/exynos and drm/omap are good
examples – I think – on how to get new drivers submitted.


Thanks,

Paul


PS: Please also try to follow the netiquette when posting to lists [1].
Especially just send plain text messages (no HTML).


[1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette


signature.asc
Description: This is a digitally signed message part
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[KORG]Help: how to submit a kernel driver to kernel.org

2012-02-27 Thread Dave Airlie
>
>
> I?m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai
> Office. We have developed a kernel driver for all our graphics chips. We
> really want to know how to submit out driver to kernel.org. Would you please
> help to find the appropriate maintainer and the procedure for how to submit
> the driver to kernel.org. Thank you very much.


http://kernel.org/doc/Documentation/SubmittingDrivers

Please see this file, and then generally you need to publish the
patches on this list, in a reviewable form.

That would mean splitting up the driver into chunks that we can
absorb, along with a detailed email
about what hardware, features and userspace interface the driver provides.

Dave.


[KORG]Help: how to submit a kernel driver to kernel.org

2012-02-27 Thread Aaron.Chen 陈俊杰
Hi,



I?m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai Office. 
We have developed a kernel driver for all our graphics chips. We really want to 
know how to submit out driver to kernel.org. Would you please help to find the 
appropriate maintainer and the procedure for how to submit the driver to 
kernel.org. Thank you very much.



Regards,

Aaron

-- next part --
An HTML attachment was scrubbed...
URL: 



Re: [KORG]Help: how to submit a kernel driver to kernel.org

2012-02-27 Thread Dave Airlie


 I’m from Silicon Motion Technology Corporation (NasdaqGS:SIMO) Shanghai
 Office. We have developed a kernel driver for all our graphics chips. We
 really want to know how to submit out driver to kernel.org. Would you please
 help to find the appropriate maintainer and the procedure for how to submit
 the driver to kernel.org. Thank you very much.


http://kernel.org/doc/Documentation/SubmittingDrivers

Please see this file, and then generally you need to publish the
patches on this list, in a reviewable form.

That would mean splitting up the driver into chunks that we can
absorb, along with a detailed email
about what hardware, features and userspace interface the driver provides.

Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel