Chris Wilson 2d2b61e160 igt/gem_reloc_overflow: Fix errno tests for "overflow"
The execbuffer2 ABI is not strictly limited to a total of UINT32_MAX
entries, rather each object can have a maximum of UINT32_MAX relocation
entries and the current implementation imposes that the total must be
allocable in a contiguous buffer when necessary (i.e as large as the
kernel can conceivably allocate). This is not an ABI constraint per-se,
just an implementation issue.

Whilst updating the limits for 64bit kernels, review usable of
ioctl-wrappers (i.e. use __gem_execbuf now available) and include a
batch of more tests to explore the boundary conditions of the maximum
relocation size. Note that rather than guess the reloc-max, it would be
better if we queried it. Also it is of vital importance that when
constructing a test to fail in a particular fashion, it must not include
any other error (e.g. we were passing in relocation arrays with invalid
target handle and domains when looking for a potential overflow across
multiple objects).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-08 09:57:33 +00:00
..
2014-12-10 17:11:35 +00:00
2014-12-10 17:11:35 +00:00
2016-02-18 10:30:56 +00:00
2015-11-03 19:46:11 +00:00
2016-03-01 16:57:00 +02:00
2016-01-08 19:56:49 +02:00
2016-02-18 10:30:56 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2016-02-18 10:30:56 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2016-03-07 14:18:43 +00:00
2015-08-21 09:37:10 +01:00
2012-01-15 16:05:43 +01:00