Re: [Intel-gfx] [PATCH] drm/i915: Reject invalid-pad for context-destroy ioctl

2016-01-10 Thread Daniel Vetter
On Fri, Jan 08, 2016 at 09:40:52PM +, Chris Wilson wrote: > Unknown parameters, especially structure padding, are expected to invoke > rejection with -EINVAL. > > Testcase: igt/gem_ctx_bad_destroy/invalid-pad > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89602 > Signed-off-by: Chris

[Intel-gfx] [PATCH] drm/i915: Reject invalid-pad for context-destroy ioctl

2016-01-08 Thread Chris Wilson
Unknown parameters, especially structure padding, are expected to invoke rejection with -EINVAL. Testcase: igt/gem_ctx_bad_destroy/invalid-pad Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89602 Signed-off-by: Chris Wilson Cc: Daniel Vetter --- drivers/gpu/drm/i915/i915_gem_context.c |