All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RFC: Make igts for cross-driver stuff mandatory?
@ 2018-10-19  8:50 ` Daniel Vetter
  0 siblings, 0 replies; 27+ messages in thread
From: Daniel Vetter @ 2018-10-19  8:50 UTC (permalink / raw)
  To: DRI Development
  Cc: IGT development, Daniel Vetter, 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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

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

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-19  8:50 [PATCH] RFC: Make igts for cross-driver stuff mandatory? Daniel Vetter
2018-10-19  8:50 ` [igt-dev] " Daniel Vetter
2018-10-22 10:27 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2018-10-22 10:52 ` ✓ Fi.CI.BAT: success " Patchwork
2018-10-22 12:59 ` ✗ Fi.CI.IGT: failure " Patchwork
     [not found] ` <20181019085049.25482-1-daniel.vetter-/w4YWyX8dFk@public.gmane.org>
2018-10-25  9:58   ` [PATCH] " Liviu Dudau
2018-10-25  9:58     ` [igt-dev] " Liviu Dudau
     [not found]     ` <20181025095804.GB29083-hOhETlTuV5niMG9XS5x8Mg@public.gmane.org>
2018-10-25 10:31       ` Daniel Vetter
2018-10-25 10:31         ` [Intel-gfx] " Daniel Vetter
2018-10-26 15:28   ` Alex Deucher
2018-10-26 15:28     ` Alex Deucher
2018-10-30  2:17   ` [Intel-gfx] " Dave Airlie
2018-10-30  2:17     ` [igt-dev] " Dave Airlie
     [not found]     ` <CAPM=9tykF1U0Kah42ej7GR=6HyKe+WeV-LRe7_xB0VEUkikdPQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-10-30  8:54       ` Daniel Vetter
2018-10-30  8:54         ` Daniel Vetter
2018-10-25 12:51 ` Sean Paul
2018-10-25 12:51   ` [igt-dev] " Sean Paul
2018-10-25 16:35   ` Eric Anholt
2018-10-25 16:35     ` [Intel-gfx] " Eric Anholt
     [not found]     ` <87efcernkp.fsf-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2018-10-26  3:49       ` Zhou, David(ChunMing)
2018-10-26  3:49         ` Zhou, David(ChunMing)
     [not found]         ` <BY1PR12MB0502FFCA69A2C76817C22C8DB4F00-PicGAnIBOobrCwm+z9iKNgdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2018-10-26  8:32           ` Daniel Vetter
2018-10-26  8:32             ` Daniel Vetter
     [not found]             ` <CAKMK7uFsET+riNKw6eGt1+Uiuhq8eww1E4OFYVCC83CfQFN5qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-10-26  8:48               ` zhoucm1
2018-10-26  8:48                 ` zhoucm1
2018-10-26 14:41               ` Alex Deucher
2018-10-26 14:41                 ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.