[Intel-gfx] [PATCH v2 2/3] drm/i915/userptr: Only flush the workqueue if required

Michał Winiarski michal.winiarski at intel.com
Wed Mar 8 09:35:30 UTC 2017


On Tue, Mar 07, 2017 at 08:58:50PM +0000, Chris Wilson wrote:
> To avoid waiting for work from other invalidate-range threads where
> not required, only wait on the userptr cancel workqueue if we have added
> some work to it.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Michał Winiarski <michal.winiarski at intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

-Michał

> ---
>  drivers/gpu/drm/i915/i915_gem_userptr.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)


More information about the Intel-gfx mailing list