[Intel-gfx] [PATCH 09/18] drm/i915: Wait first for submission, before waiting for request completion
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Mon Sep 19 08:59:44 UTC 2016
On ke, 2016-09-14 at 07:52 +0100, Chris Wilson wrote:
> +static long
> +__i915_request_wait_for_submit(struct drm_i915_gem_request *request,
> + unsigned int flags,
> + long timeout)
> +{
> + const int state = flags & I915_WAIT_INTERRUPTIBLE ?
> + TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE;
const bool wait_locked = flags & I915_WAIT_LOCKED;
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list