[Intel-gfx] [PATCH v9 5/9] drm/i915: add syncobj timeline support

Lionel Landwerlin lionel.g.landwerlin at intel.com
Mon Jul 22 14:00:56 UTC 2019


On 11/07/2019 12:46, Lionel Landwerlin wrote:
> +
> +		syncobj = drm_syncobj_find(eb->file, user_fence.handle);
> +		if (!syncobj) {
> +			DRM_DEBUG("Invalid syncobj handle provided\n");
> +			err = -EINVAL;
> +			goto err;
> +		}


Invalid error code here... Should be ENOENT to match the existing path.

Yey for writing tests!


-Lionel



More information about the Intel-gfx mailing list