summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-02-18 12:25:50 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-03-26 10:31:05 +0000
commit2551ed1864985d2fe1c250337f86c7b2bc670c67 (patch)
tree41e7a5f6b1e1f679f01a190aa8365facf1cf23b9 /lib
parentabffc52b0ec74c8498f2197760199a54e29c8a6a (diff)
i915/gem_ctx_param: Remove kneecapping
The invalid set/get tests do not serve the purpose of detecting whether or not invalid parameters are indeed detected correctly -- simply because the kernel is the arbiter of what is invalid and this test second guesses that and is wrong. The intent of this test was to ensure that we didn't include any holes in the parameter space that may have been used for nefarious undisclosed purposes, i.e. the maintainer's job backed up by reviewers. As proving no holes is impossible without fuzzing/exhaustive search and a whitelist, accept defeat and just check whether the very last parameter (which should be unused for a long, long time) is invalid. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions