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

Ramalingam C
2019-05-30T16:12:08Z

On 2019-05-30 at 16:44:45 +0100, Chris Wilson wrote:
> 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.
Sure. This will be applicable on other patches too. I will update them
too.

Thanks,
-Ram
>
> > #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;