mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
tests/gem_cs_tlb: fix hardcoded ring id
The test has 4 subparts, one for each ring, but internally they all submit to ring 0. Fix it to use the provided ring_id Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
980ccf124a
commit
27cf5847dc
@ -130,7 +130,7 @@ static void run_on_ring(int fd, unsigned ring_id, const char *ring_name)
|
|||||||
gem_close(fd, handle);
|
gem_close(fd, handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
igt_assert_eq(exec(fd, handle_new, split, >t_offset_new, 0),
|
igt_assert_eq(exec(fd, handle_new, split, >t_offset_new, ring_id),
|
||||||
0);
|
0);
|
||||||
|
|
||||||
if (split > 0) {
|
if (split > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user