]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Catch dirt in unused execbuffer fields
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Apr 2014 06:09:11 +0000 (08:09 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 07:08:43 +0000 (09:08 +0200)
commit9cb346648d9c529eccc5c7f30093e82d37004e37
tree9349a49da22d3b4ff3d2ab5a69ddb13d7449a53b
parentc0f5b82cd1a839090db19009ab126a8ad4a7602d
drm/i915: Catch dirt in unused execbuffer fields

We need to make sure that userspace keeps on following the contract,
otherwise we won't be able to use the reserved fields at all.

v2: Add DRM_DEBUG (Chris)

Testcase: igt/gem_exec_params/*-dirt
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c