Re: [Intel-gfx] [PATCH i-g-t] lib/i915: Fix test enumeration on legacy kernels

Andi Shyti
2019-05-23T08:52:58Z

Hi Tvrtko,

On Thu, May 23, 2019 at 09:39:29AM +0100, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>
> Where engine discovery and context engine map are not supported we must
> not call the asserting gem_class_instance_to_eb_flags from the engine
> list initalizer. (Since not all engines can be addressed using the legacy
> execbuf API.)
>
> Instead extract the code into lower level __gem_class_instance_to_eb_flags
> helper which can return errors the caller can manually handle then.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> Cc: Andi Shyti <andi.shyti@intel.com>

Chris was after this:

https://patchwork.freedesktop.org/patch/306446/

Andi
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org