On Fri,  2 Dec 2011 20:43:21 +0100, Daniel Vetter <[email protected]> 
wrote:
> This confuses our domain tracking and can (for gtt write domains) lead
> to a subsequent oops.
> 
> Tested by tests/gem_exec_bad_domains from i-g-t.
> 
> Signed-Off-by: Daniel Vetter <[email protected]>

If it was in deliberate use by userspace we would have been oopsing,
Reviewed-by: Chris Wilson <[email protected]>

In a similar vein is to add a
 BUG_ON(obj->base.write_domain & ~I915_GEM_GPU_DOMAINS)
to move_to_active(). With this loop-hole closed, adding an invalid write
buffer to the active list should only be possible through a kernel
programming error (and helps remind us about what the limits upon the
active list are).
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to