[Intel-gfx] [PATCH 15/17] drm/i915: Wait upon userptr get-user-pages within execbuffer
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Tue Aug 23 10:53:09 UTC 2016
On ma, 2016-08-22 at 09:03 +0100, Chris Wilson wrote:
> @@ -4471,7 +4471,9 @@ int i915_gem_init(struct drm_device *dev)
> */
> intel_uncore_forcewake_get(dev_priv, FORCEWAKE_ALL);
>
> - i915_gem_init_userptr(dev_priv);
> + ret = i915_gem_init_userptr(dev_priv);
> + if (ret)
> + goto out_unlock;
Don't we need a new teardown label after successful
i915_gem_init_userptr()?
With that added,
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