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

Andi Shyti andi.shyti at intel.com
Thu May 23 08:52:58 UTC 2019


Hi Tvrtko,

On Thu, May 23, 2019 at 09:39:29AM +0100, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at 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 at intel.com>
> Cc: Andi Shyti <andi.shyti at intel.com>

Chris was after this: 

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

Andi


More information about the Intel-gfx mailing list