[igt-dev] [PATCH i-g-t v2] tests/i915/gem_exec_schedule.c: Switch to gem_sync and gem_read

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 15 00:24:19 UTC 2019


Quoting Antonio Argenziano (2019-02-15 00:21:45)
> 
> 
> On 14/02/19 16:15, Chris Wilson wrote:
> > Quoting Antonio Argenziano (2019-02-15 00:04:48)
> >> +
> >> +       return value;
> >> +
> >> +}
> >> +
> >> +static inline
> >> +void __sync_range_read_u32(int fd, uint32_t handle, uint32_t *dest, uint64_t size)
> > 
> > I probably would have gone with sync_read_u32_count, or
> > sync_read(void *dst, uint64_t size)
> 
> Wouldn't you still need an handle in this ^

And the fd, ofc. Just using suggestive-C.
-Chris


More information about the igt-dev mailing list