]> 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)
commit36ad27de1c68d77817df392cac7bf8e0605c5fb2
tree7de27b9637f0c1d7c5360c840fcdcac204579934
parent5786bd85befdc529943b1ddf46c5e75d70cccbb3
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