igt/drm_read: Abuse read(drm)

Check that the more obvious userspace error conditions are handled by
the kernel, ideally without loss of data. These include nonblocking
waits, passing invalid buffers and passing buffers of the incorrect
length.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2014-12-05 13:12:37 +00:00
parent b64704673e
commit 819e68f2ed
3 changed files with 182 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ core_getclient
core_getstats
core_getversion
drm_import_export
drm_read
drm_vma_limiter
drm_vma_limiter_cached
drm_vma_limiter_cpu