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

Antonio Argenziano antonio.argenziano at intel.com
Fri Feb 15 22:56:59 UTC 2019



On 15/02/19 12:17, Chris Wilson wrote:
> Quoting Antonio Argenziano (2019-02-15 15:42:02)
>> use IOCTLs gem_read for reading and, gem_sync to wait on a batch, this
>> will help testing platforms that might not expose gtt mapping.
>>
>> v2:
>>          - use a local helper for reading from BOs. (Chris)
>>          - Always sync before reading. (Chris)
>>
>> v3:
>>          - Better helper naming. (Chris)
>>          - Start read from actual offset. (Chris)
>>
>> v4:
>>          - Always use byte size in helper. (Chris)
>>
>> v5:
>>          - Fix byte<->count conversion. (Chris)
>>
>> Signed-off-by: Antonio Argenziano <antonio.argenziano at intel.com>
>>
>> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> 
> Seems safe now!

Thanks, pushed.

Antonio

> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> -Chris
> 


More information about the igt-dev mailing list