linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Ion unit test with VGEM
@ 2018-02-16  1:24 Laura Abbott
  2018-02-16  1:24 ` [PATCH 1/2] selftests: ion: Remove some prints Laura Abbott
  2018-02-16  1:24 ` [PATCH 2/2] selftests: ion: Add simple test with the vgem driver Laura Abbott
  0 siblings, 2 replies; 10+ messages in thread
From: Laura Abbott @ 2018-02-16  1:24 UTC (permalink / raw)
  To: Sumit Semwal
  Cc: Laura Abbott, devel, linux-kernel, Todd Kjos, dri-devel,
	Chris Wilson, Liam Mark, Shuah Khan, linux-kselftest

Hi,

Ion hasn't had much in the way of unit tests and fixing that is
something that needs to happen before it can move out of staging. The
difficult part of testing parts of Ion is that it relies on having a
kernel driver to actually make some of the dma_buf calls. The vgem
DRM driver exists mostly for testing and works great for this case. I
went back and forth about trying to put this in the existing graphics
test suite but I think having something in the self-tests directory is
easier.

I'm mostly interested in feedback about the use of the DRM APIs but I
appreciate any and all comments.

Thanks,
Laura

Laura Abbott (2):
  selftests: ion: Remove some prints
  selftests: ion: Add simple test with the vgem driver

 tools/testing/selftests/android/ion/Makefile      |   3 +-
 tools/testing/selftests/android/ion/config        |   1 +
 tools/testing/selftests/android/ion/ionmap_test.c | 136 ++++++++++++++++++++++
 tools/testing/selftests/android/ion/ionutils.c    |   6 -
 4 files changed, 139 insertions(+), 7 deletions(-)
 create mode 100644 tools/testing/selftests/android/ion/ionmap_test.c

-- 
2.14.3


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

end of thread, other threads:[~2018-02-27 15:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-16  1:24 [RFC PATCH 0/2] Ion unit test with VGEM Laura Abbott
2018-02-16  1:24 ` [PATCH 1/2] selftests: ion: Remove some prints Laura Abbott
2018-02-26 16:54   ` Shuah Khan
2018-02-16  1:24 ` [PATCH 2/2] selftests: ion: Add simple test with the vgem driver Laura Abbott
2018-02-19 15:31   ` Daniel Vetter
2018-02-19 18:18     ` Laura Abbott
2018-02-19 18:33       ` Daniel Vetter
2018-02-26 17:07         ` Shuah Khan
2018-02-27  1:48           ` Laura Abbott
2018-02-27 15:06             ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).