public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] RFC: Make igts for cross-driver stuff mandatory?
@ 2018-10-19  8:50 Daniel Vetter
  2018-10-25  9:58 ` Liviu Dudau
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Daniel Vetter @ 2018-10-19  8:50 UTC (permalink / raw)
  To: DRI Development; +Cc: IGT development, Intel Graphics Development, amd-gfx

Hi all,

This is just to collect feedback on this idea, and see whether the
overall dri-devel community stands on all this. I think the past few
cross-vendor uapi extensions all came with igts attached, and
personally I think there's lots of value in having them: A
cross-vendor interface isn't useful if every driver implements it
slightly differently.

I think there's 2 questions here:

- Do we want to make such testcases mandatory?

- If yes, are we there yet, or is there something crucially missing
  still?

And of course there's a bunch of details to figure out. Like we
probably want to also recommend the selftests/unit-tests in
drivers/gpu/drm/selftest, since fairly often that's a much more
effective approach to checking the details than from userspace.

Feedback and thoughts very much appreciated.

Cheers, Daniel
---
 Documentation/gpu/drm-uapi.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/gpu/drm-uapi.rst b/Documentation/gpu/drm-uapi.rst
index 4b4bf2c5eac5..91cf6e4b6303 100644
--- a/Documentation/gpu/drm-uapi.rst
+++ b/Documentation/gpu/drm-uapi.rst
@@ -238,6 +238,13 @@ DRM specific patterns. Note that ENOTTY has the slightly unintuitive meaning of
 Testing and validation
 ======================
 
+Testing Requirements for userspace API
+--------------------------------------
+
+New cross-driver userspace interface extensions, like new IOCTL, new KMS
+properties, new files in sysfs or anything else that constitutes an API change
+need to have driver-agnostic testcases in IGT for that feature.
+
 Validating changes with IGT
 ---------------------------
 
-- 
2.19.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2018-10-30  8:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-19  8:50 [igt-dev] [PATCH] RFC: Make igts for cross-driver stuff mandatory? Daniel Vetter
2018-10-25  9:58 ` Liviu Dudau
2018-10-25 10:31   ` [Intel-gfx] " Daniel Vetter
2018-10-25 12:51 ` [igt-dev] " Sean Paul
2018-10-25 16:35   ` [Intel-gfx] " Eric Anholt
2018-10-26  3:49     ` Zhou, David(ChunMing)
2018-10-26  8:32       ` Daniel Vetter
2018-10-26  8:48         ` zhoucm1
2018-10-26 14:41         ` Alex Deucher
2018-10-26 15:28 ` Alex Deucher
2018-10-30  2:17 ` [igt-dev] [Intel-gfx] " Dave Airlie
2018-10-30  8:54   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox