Commit 7802324e authored by Antonio Argenziano's avatar Antonio Argenziano

tests/i915/gem_exec_schedule.c: Switch to gem_sync and gem_read

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.

	- use a local helper for reading from BOs. (Chris)
	- Always sync before reading. (Chris)

	- Better helper naming. (Chris)
	- Start read from actual offset. (Chris)

	- Always use byte size in helper. (Chris)

	- Fix byte<->count conversion. (Chris)
Signed-off-by: Antonio Argenziano's avatarAntonio Argenziano <>

Cc: Chris Wilson <>
Reviewed-by: Chris Wilson's avatarChris Wilson <>
parent 324ab48e
Pipeline #19417 passed with stages
in 7 minutes and 48 seconds
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment