tests/gem_lut_handle: Simplify creation of broken handles
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jun 2013 12:53:44 +0000 (13:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jun 2013 12:55:53 +0000 (13:55 +0100)
commit60e3930987134ff855cb24dd1021eb5225b18857
tree0f5caf4c73051131316052b59f138da213e96008
parent6de9736394242f207a43e828a8236e4f63c16e03
tests/gem_lut_handle: Simplify creation of broken handles

Limit the broken handles to UINT32_MAX-4096 so that we can be sure that
they do not alias with a valid handle.

References: https://bugs.freedesktop.org/show_bug.cgi?id=65391
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/gem_lut_handle.c