Arkadiusz Hiler | eccae13 | 2018-05-15 14:07:50 +0300 | [diff] [blame] | 1 | Patches to igt-gpu-tools are very much welcome, we really want this to be the |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 2 | universal set of low-level tools and testcases for the Intel kernel gfx driver |
| 3 | on Linux and similar platforms. So please bring on porting patches, bugfixes, |
| 4 | improvements for documentation and new tools and testcases. |
| 5 | |
| 6 | A short list of contribution guidelines: |
| 7 | |
| 8 | - Please submit patches formatted with git send-email/git format-patch or |
Rhys Kidd | dbf5b6f | 2018-01-22 23:43:56 -0500 | [diff] [blame] | 9 | equivalent to: |
| 10 | |
| 11 | Development mailing list for IGT GPU Tools <igt-dev@lists.freedesktop.org> |
| 12 | |
| 13 | For a transition period patches are accepted on both the igt-dev mailing list |
| 14 | and the former intel-gfx mailing list (with the appropriate patch |
| 15 | subjectprefix, see below). |
| 16 | |
| 17 | During the transition period, feel free to send patches to both lists if you |
| 18 | have a need to do so, as they will get deduplicated so they only appear and |
| 19 | are tested in one Patchwork instance. |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 20 | |
| 21 | Intel GFX discussion <intel-gfx@lists.freedesktop.org> |
| 22 | |
Rhys Kidd | dbf5b6f | 2018-01-22 23:43:56 -0500 | [diff] [blame] | 23 | Please use --subject-prefix="PATCH i-g-t" so IGT patches are easily |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 24 | identified in the massive amount mails on intel-gfx. To ensure this is always |
Daniel Vetter | 07c3317 | 2018-01-11 09:47:52 +0100 | [diff] [blame] | 25 | done, meson.sh (and autogen.sh) will run: |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 26 | |
| 27 | git config format.subjectprefix "PATCH i-g-t" |
| 28 | |
Eric Anholt | eeeb304 | 2017-06-07 16:51:21 -0700 | [diff] [blame] | 29 | on its first invocation. |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 30 | |
Arkadiusz Hiler | eccae13 | 2018-05-15 14:07:50 +0300 | [diff] [blame] | 31 | - igt-gpu-tools is MIT licensed and we require contributions to follow the |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 32 | developer's certificate of origin: http://developercertificate.org/ |
| 33 | |
| 34 | - When submitting new testcases please follow the naming conventions documented |
Sean Paul | d4e5b77 | 2018-01-08 10:55:20 -0500 | [diff] [blame] | 35 | in the generated documentation. Also please make full use of all the helpers |
| 36 | and convenience macros provided by the igt library. The semantic patch |
| 37 | lib/igt.cocci can help with the more automatic conversions. |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 38 | |
Daniel Vetter | c42ab4d | 2017-07-18 18:00:20 +0200 | [diff] [blame] | 39 | - Patches need to be reviewed on the mailing list. Exceptions only apply for |
| 40 | testcases and tooling for drivers with just a single contributor (e.g. vc4). |
| 41 | In this case patches must still be submitted to the mailing list first. |
Rhys Kidd | 2db1219 | 2018-01-22 23:43:53 -0500 | [diff] [blame] | 42 | Testcase should preferably be cross-reviewed by the same people who write and |
Daniel Vetter | c42ab4d | 2017-07-18 18:00:20 +0200 | [diff] [blame] | 43 | review the kernel feature itself. |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 44 | |
| 45 | - When patches from new contributors (without commit access) are stuck, for |
| 46 | anything related to the regular releases, issues with packaging and |
Arkadiusz Hiler | eccae13 | 2018-05-15 14:07:50 +0300 | [diff] [blame] | 47 | integrating platform support or any other igt-gpu-tools issues, please |
Thomas Wood | e80922e | 2014-12-05 14:07:53 +0000 | [diff] [blame] | 48 | contact one of the maintainers (listed in the MAINTAINERS file) and cc the |
Rhys Kidd | dbf5b6f | 2018-01-22 23:43:56 -0500 | [diff] [blame] | 49 | igt-dev mailing list. |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 50 | |
Rhys Kidd | 2db1219 | 2018-01-22 23:43:53 -0500 | [diff] [blame] | 51 | - Changes to the testcases are automatically tested. Take the results into |
| 52 | account before merging. |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 53 | |
Daniel Vetter | 0350f0e | 2018-04-13 12:00:57 +0200 | [diff] [blame] | 54 | Commit rights |
| 55 | ------------- |
| 56 | |
| 57 | Commit rights will be granted to anyone who requests them and fulfills the |
| 58 | below criteria: |
| 59 | |
| 60 | - Submitted a few (5-10 as a rule of thumb) non-trivial (not just simple |
| 61 | spelling fixes and whitespace adjustment) patches that have been merged |
| 62 | already. |
| 63 | |
| 64 | - Are actively participating on discussions about their work (on the mailing |
| 65 | list or IRC). This should not be interpreted as a requirement to review other |
| 66 | peoples patches but just make sure that patch submission isn't one-way |
| 67 | communication. Cross-review is still highly encouraged. |
| 68 | |
| 69 | - Will be regularly contributing further patches. This includes regular |
| 70 | contributors to other parts of the open source graphics stack who only |
| 71 | do the oddball rare patch within igt itself. |
| 72 | |
| 73 | - Agrees to use their commit rights in accordance with the documented merge |
| 74 | criteria, tools, and processes. |
| 75 | |
| 76 | Apply for an account (and any other account change requests) through |
| 77 | |
| 78 | https://www.freedesktop.org/wiki/AccountRequests/ |
| 79 | |
| 80 | and please ping the maintainers if your request is stuck. |
| 81 | |
| 82 | Committers are encouraged to request their commit rights get removed when they |
| 83 | no longer contribute to the project. Commit rights will be reinstated when they |
| 84 | come back to the project. |
| 85 | |
| 86 | Maintainers and committers should encourage contributors to request commit |
| 87 | rights, especially junior contributors tend to underestimate their skills. |
| 88 | |
| 89 | Code of Conduct |
| 90 | --------------- |
| 91 | |
| 92 | Please be aware the fd.o Code of Conduct also applies to igt: |
| 93 | |
| 94 | https://www.freedesktop.org/wiki/CodeOfConduct/ |
| 95 | |
| 96 | See the MAINTAINERS file for contact details of the igt maintainers. |
| 97 | |
| 98 | Abuse of commit rights, like engaging in commit fights or willfully pushing |
| 99 | patches that violate the documented merge criteria, will also be handled through |
| 100 | the Code of Conduct enforcement process. |
| 101 | |
Daniel Vetter | c15e693 | 2014-10-28 10:54:32 +0100 | [diff] [blame] | 102 | Happy hacking! |