[Intel-gfx] [PATCH] drm/i915/userptr: Disallow wrapping GTT into a userptr

Chris Wilson chris at chris-wilson.co.uk
Tue Mar 7 11:30:39 UTC 2017


On Tue, Mar 07, 2017 at 11:18:53AM +0000, Chris Wilson wrote:
> Simplest patch is then fun with obj->userptr.work, i.e. something like
> 	if (xchg(&obj->userptr.work, NULL)) return 0;

Overly simplistic. Too many holes to plug between potential users of the
pages and the current cancel_userptr.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list