Quoting Chris Wilson (2019-12-07 17:01:09) > Execute the cmdparser asynchronously as part of the submission pipeline. > Using our dma-fences, we can schedule execution after an asynchronous > piece of work, so we move the cmdparser out from under the struct_mutex > inside execbuf as run it as part of the submission pipeline. The same > security rules apply, we copy the user batch before validation and > userspace cannot touch the validation shadow. The only caveat is that we > will do request construction before we complete cmdparsing and so we > cannot know the outcome of the validation step until later -- so the > execbuf ioctl does not report -EINVAL directly, but we must cancel > execution of the request and flag the error on the out-fence. Closes: https://gitlab.freedesktop.org/drm/intel/issues/611 > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] [PATCH 2/8] drm/i915: Remove redundant paramet... Chris Wilson
- Re: [Intel-gfx] [PATCH 2/8] drm/i915: Remove redundan... Joonas Lahtinen
- [Intel-gfx] [PATCH 5/8] drm/i915: Align start for memcpy_f... Chris Wilson
- Re: [Intel-gfx] [PATCH 5/8] drm/i915: Align start for... Joonas Lahtinen
- [Intel-gfx] [PATCH 6/8] drm/i915: Prepare gen7 cmdparser f... Chris Wilson
- Re: [Intel-gfx] [PATCH 6/8] drm/i915: Prepare gen7 cm... Joonas Lahtinen
- Re: [Intel-gfx] [PATCH 6/8] drm/i915: Prepare gen... Chris Wilson
- [Intel-gfx] [PATCH 4/8] drm/i915/gem: Tidy up error handli... Chris Wilson
- Re: [Intel-gfx] [PATCH 4/8] drm/i915/gem: Tidy up err... Joonas Lahtinen
- [Intel-gfx] [PATCH 7/8] drm/i915: Asynchronous cmdparser Chris Wilson
- Re: [Intel-gfx] [PATCH 7/8] drm/i915: Asynchronous cm... Chris Wilson
- Re: [Intel-gfx] [PATCH 7/8] drm/i915: Asynchronou... Chris Wilson
- Re: [Intel-gfx] [PATCH 7/8] drm/i915: Asynchronous cm... Joonas Lahtinen
- [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series startin... Patchwork
- [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with ... Patchwork
- [Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with ... Patchwork
- Re: [Intel-gfx] [PATCH 1/8] drm/i915: Fix cmdparser drm.de... Joonas Lahtinen
- Re: [Intel-gfx] [PATCH 1/8] drm/i915: Fix cmdparser drm.de... Jani Nikula