summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2020-04-09 16:33:55 +0300
committerPetri Latvala <petri.latvala@intel.com>2023-01-18 16:22:27 +0200
commita4ead43ad05a682a71b13a6fe5404bd253b39234 (patch)
treea30c098566a59d25a748b1bf92f8c47eec106006 /CONTRIBUTING.md
parentaa16e81259f59734230d441905b9d0f605e4a4b5 (diff)
CONTRIBUTING: Document guidelines for interface deprecation
Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6d1294add..2ab8a48f6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -30,6 +30,12 @@ The Code
provided by the igt library. The semantic patch lib/igt.cocci can help with
more automatic conversions.
+- Tests that use kernel interfaces (uapi, sysfs, or even debugfs) that
+ become deprecated in favour of new interfaces should have fallbacks
+ to the deprecated interfaces if the new stuff is not present in the
+ running kernel. The same IGT version can be used to test the tip of
+ development along with stable kernel releases that way.
+
[igt-describe]: https://drm.pages.freedesktop.org/igt-gpu-tools/igt-gpu-tools-Core.html#igt-describe