[igt-dev] [PATCH i-g-t v2 2/5] test/i915: gem_exec_async: use the gem_engine_topology library

Chris Wilson chris at chris-wilson.co.uk
Thu May 30 15:44:45 UTC 2019


Quoting Ramalingam C (2019-05-30 16:42:19)
> @@ -80,15 +80,15 @@ static void store_dword(int fd, unsigned ring,
>         gem_close(fd, obj[1].handle);
>  }
>  
> -static void one(int fd, unsigned ring, uint32_t flags)
> +static void one(int fd, const struct intel_execution_engine2 *e)
>  {
>         const int gen = intel_gen(intel_get_drm_devid(fd));
>         struct drm_i915_gem_exec_object2 obj[2];
> +       struct intel_execution_engine2 *engine;

Keep this as other.

>  #define SCRATCH 0
>  #define BATCH 1
>         struct drm_i915_gem_relocation_entry reloc;
>         struct drm_i915_gem_execbuffer2 execbuf;
> -       unsigned int other;
>         uint32_t *batch;
>         int i;


More information about the igt-dev mailing list