tests: fixup gem_exec_nop subtests

Note to self: No more pushing after 12 o'clock midnight. Not a good
idea, too embarassing.
This commit is contained in:
Daniel Vetter 2012-12-05 04:16:38 +01:00
parent d9d9578f3b
commit ad5919617c
2 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,7 @@ TESTS_progs_M = \
gem_cpu_concurrent_blit \
gem_cs_tlb \
gem_exec_bad_domains \
gem_exec_nop \
gem_flink \
gem_gtt_concurrent_blit \
gem_mmap_gtt \
@ -32,7 +33,6 @@ TESTS_progs = \
getversion \
getclient \
getstats \
gem_exec_nop \
gem_exec_big \
gem_exec_blt \
gem_exec_faulting_reloc \

View File

@ -73,7 +73,7 @@ static int exec(int fd, uint32_t handle, int loops, unsigned ring_id)
execbuf.num_cliprects = 0;
execbuf.DR1 = 0;
execbuf.DR4 = 0;
execbuf.flags = 0;
execbuf.flags = ring_id;
i915_execbuffer2_set_context_id(execbuf, 0);
execbuf.rsvd2 = 0;
@ -111,6 +111,8 @@ int main(int argc, char **argv)
uint32_t devid;
int fd;
drmtest_subtest_init(argc, argv);
fd = drm_open_any();
devid = intel_get_drm_devid(fd);