blob: 6d293fd8d6ba4d34158510ed68ede91caf68162e [file] [log] [blame]
Arkadiusz Hilereccae132018-05-15 14:07:50 +03001Patches to igt-gpu-tools are very much welcome, we really want this to be the
Daniel Vetterc15e6932014-10-28 10:54:32 +01002universal set of low-level tools and testcases for the Intel kernel gfx driver
3on Linux and similar platforms. So please bring on porting patches, bugfixes,
4improvements for documentation and new tools and testcases.
5
6A short list of contribution guidelines:
7
8- Please submit patches formatted with git send-email/git format-patch or
Rhys Kidddbf5b6f2018-01-22 23:43:56 -05009 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 Vetterc15e6932014-10-28 10:54:32 +010020
21 Intel GFX discussion <intel-gfx@lists.freedesktop.org>
22
Rhys Kidddbf5b6f2018-01-22 23:43:56 -050023 Please use --subject-prefix="PATCH i-g-t" so IGT patches are easily
Daniel Vetterc15e6932014-10-28 10:54:32 +010024 identified in the massive amount mails on intel-gfx. To ensure this is always
Daniel Vetter07c33172018-01-11 09:47:52 +010025 done, meson.sh (and autogen.sh) will run:
Daniel Vetterc15e6932014-10-28 10:54:32 +010026
27 git config format.subjectprefix "PATCH i-g-t"
28
Eric Anholteeeb3042017-06-07 16:51:21 -070029 on its first invocation.
Daniel Vetterc15e6932014-10-28 10:54:32 +010030
Arkadiusz Hilereccae132018-05-15 14:07:50 +030031- igt-gpu-tools is MIT licensed and we require contributions to follow the
Daniel Vetterc15e6932014-10-28 10:54:32 +010032 developer's certificate of origin: http://developercertificate.org/
33
34- When submitting new testcases please follow the naming conventions documented
Sean Pauld4e5b772018-01-08 10:55:20 -050035 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 Vetterc15e6932014-10-28 10:54:32 +010038
Daniel Vetterc42ab4d2017-07-18 18:00:20 +020039- 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 Kidd2db12192018-01-22 23:43:53 -050042 Testcase should preferably be cross-reviewed by the same people who write and
Daniel Vetterc42ab4d2017-07-18 18:00:20 +020043 review the kernel feature itself.
Daniel Vetterc15e6932014-10-28 10:54:32 +010044
45- When patches from new contributors (without commit access) are stuck, for
46 anything related to the regular releases, issues with packaging and
Arkadiusz Hilereccae132018-05-15 14:07:50 +030047 integrating platform support or any other igt-gpu-tools issues, please
Thomas Woode80922e2014-12-05 14:07:53 +000048 contact one of the maintainers (listed in the MAINTAINERS file) and cc the
Rhys Kidddbf5b6f2018-01-22 23:43:56 -050049 igt-dev mailing list.
Daniel Vetterc15e6932014-10-28 10:54:32 +010050
Rhys Kidd2db12192018-01-22 23:43:53 -050051- Changes to the testcases are automatically tested. Take the results into
52 account before merging.
Daniel Vetterc15e6932014-10-28 10:54:32 +010053
Daniel Vetter0350f0e2018-04-13 12:00:57 +020054Commit rights
55-------------
56
57Commit rights will be granted to anyone who requests them and fulfills the
58below 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
76Apply for an account (and any other account change requests) through
77
78https://www.freedesktop.org/wiki/AccountRequests/
79
80and please ping the maintainers if your request is stuck.
81
82Committers are encouraged to request their commit rights get removed when they
83no longer contribute to the project. Commit rights will be reinstated when they
84come back to the project.
85
86Maintainers and committers should encourage contributors to request commit
87rights, especially junior contributors tend to underestimate their skills.
88
89Code of Conduct
90---------------
91
92Please be aware the fd.o Code of Conduct also applies to igt:
93
94https://www.freedesktop.org/wiki/CodeOfConduct/
95
96See the MAINTAINERS file for contact details of the igt maintainers.
97
98Abuse of commit rights, like engaging in commit fights or willfully pushing
99patches that violate the documented merge criteria, will also be handled through
100the Code of Conduct enforcement process.
101
Daniel Vetterc15e6932014-10-28 10:54:32 +0100102Happy hacking!