]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Tighten the checks for invalid relocation domains
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Dec 2012 11:49:06 +0000 (11:49 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Dec 2012 19:11:51 +0000 (20:11 +0100)
commitb4329264d610bd2f0834a9581eb8af2e7c45fe8a
tree7de27b9637f0c1d7c5360c840fcdcac204579934
parent93d28ae270f45395ae9b970b60d4896ff2c50dd6
drm/i915: Tighten the checks for invalid relocation domains

Be specific for the GPU domains so that we can detect if userspace ever
passed in an invalid combination, as well as accurately reflect the
known GPU domains when printing state.

Fixes i-g-t/gem_exec_bad_domains

References: https://bugs.freedesktop.org/show_bug.cgi?id=57826
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h