]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Catch abuse of I915_EXEC_CONSTANTS_*
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Apr 2014 06:09:10 +0000 (08:09 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Apr 2014 10:12:21 +0000 (12:12 +0200)
commitb3386c721e64ad024c5efea242327bf8ac94ac62
treefde8cd2eef1fed5d9fbcec599ec93bc563cbd9b8
parent9a4718dc7ed13436d60c3141dd1e8bbc7dad8a54
drm/i915: Catch abuse of I915_EXEC_CONSTANTS_*

A bit tricky since 0 is also a valid constant ...

v2: Add DRM_DEBUG (Chris)

Testcase: igt/gem_exec_params/rel-constants-*
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