Home
last modified time | relevance | path

Searched refs:execobj (Results 1 – 2 of 2) sorted by relevance

/external/igt-gpu-tools/tests/i915/
Dgem_exec_alignment.c71 struct drm_i915_gem_exec_object2 *execobj; in many() local
97 execobj = calloc(sizeof(*execobj), count + 1); in many()
98 igt_assert(execobj); in many()
101 execobj[i].handle = gem_create(fd, 4096); in many()
103 execobj[i].flags = 1<<3; /* EXEC_OBJECT_SUPPORTS_48B_ADDRESS */ in many()
105 execobj[i].handle = gem_create(fd, 4096); in many()
107 execobj[i].flags = 1<<3; /* EXEC_OBJECT_SUPPORTS_48B_ADDRESS */ in many()
108 gem_write(fd, execobj[i].handle, 0, &bbe, sizeof(bbe)); in many()
111 execbuf.buffers_ptr = to_user_pointer(execobj); in many()
117 execobj[i].alignment = alignment; in many()
[all …]
Dgem_cs_tlb.c96 struct drm_i915_gem_exec_object2 execobj; in run_on_ring() local
113 memset(&execobj, 0, sizeof(execobj)); in run_on_ring()
114 execobj.handle = obj[0].handle; in run_on_ring()
118 execbuf.buffers_ptr = to_user_pointer(&execobj); in run_on_ring()
124 execobj.flags = EXEC_OBJECT_PINNED; in run_on_ring()
128 execobj.handle = obj[i&1].handle; in run_on_ring()