Home
last modified time | relevance | path

Searched refs:vm_id (Results 1 – 13 of 13) sorted by relevance

/external/igt-gpu-tools/lib/i915/
Dgem_vm.c49 uint32_t vm_id = 0; in gem_has_vm() local
51 __gem_vm_create(i915, &vm_id); in gem_has_vm()
52 if (vm_id) in gem_has_vm()
53 gem_vm_destroy(i915, vm_id); in gem_has_vm()
55 return vm_id; in gem_has_vm()
70 int __gem_vm_create(int i915, uint32_t *vm_id) in __gem_vm_create() argument
76 *vm_id = ctl.vm_id; in __gem_vm_create()
97 uint32_t vm_id; in gem_vm_create() local
99 igt_assert_eq(__gem_vm_create(i915, &vm_id), 0); in gem_vm_create()
100 igt_assert(vm_id != 0); in gem_vm_create()
[all …]
Dgem_vm.h33 int __gem_vm_create(int i915, uint32_t *vm_id);
35 void gem_vm_destroy(int i915, uint32_t vm_id);
36 int __gem_vm_destroy(int i915, uint32_t vm_id);
/external/igt-gpu-tools/tests/i915/
Dgem_vm_create.c74 gem_vm_destroy(i915, ctl.vm_id); in has_vm()
89 gem_vm_destroy(i915, ctl.vm_id); in invalid_create()
91 ctl.vm_id = 0xdeadbeef; in invalid_create()
93 gem_vm_destroy(i915, ctl.vm_id); in invalid_create()
94 ctl.vm_id = 0; in invalid_create()
118 ctl.vm_id = ctl.vm_id + 1; /* assumes no one else allocated */ in invalid_destroy()
120 ctl.vm_id = ctl.vm_id - 1; in invalid_destroy()
Dgem_ctx_clone.c390 uint32_t vm_id[2]; in clone_vm() local
399 vm_id[0] = set.value; in clone_vm()
402 vm_id[1] = gem_vm_create(i915); in clone_vm()
411 set.value = vm_id[pass]; in clone_vm()
424 for (int i = 0; i < ARRAY_SIZE(vm_id); i++) in clone_vm()
425 gem_vm_destroy(i915, vm_id[i]); in clone_vm()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c379 va.vm_id = 0; in radeon_bo_destroy()
701 va.vm_id = 0; in radeon_create_bo()
1151 va.vm_id = 0; in radeon_winsys_bo_from_ptr()
1282 va.vm_id = 0; in radeon_winsys_bo_from_handle()
/external/igt-gpu-tools/benchmarks/
Dgem_wsim.c1368 static int __vm_destroy(int i915, uint32_t vm_id) in __vm_destroy() argument
1370 struct drm_i915_gem_vm_control ctl = { .vm_id = vm_id }; in __vm_destroy()
1382 static void vm_destroy(int i915, uint32_t vm_id) in vm_destroy() argument
1384 igt_assert_eq(__vm_destroy(i915, vm_id), 0); in vm_destroy()
/external/kernel-headers/original/uapi/drm/
Dradeon_drm.h944 __u32 vm_id; member
Di915_drm.h1899 __u32 vm_id; member
/external/igt-gpu-tools/include/drm-uapi/
Dradeon_drm.h944 __u32 vm_id; member
Di915_drm.h1769 __u32 vm_id; member
/external/libdrm/include/drm/
Di915_drm.h1597 __u32 vm_id; member
/external/mesa3d/include/drm-uapi/
Di915_drm.h1898 __u32 vm_id; member
/external/minigbm/external/
Di915_drm.h1892 __u32 vm_id; member