Home
last modified time | relevance | path

Searched refs:vgem (Results 1 – 10 of 10) sorted by relevance

/external/igt-gpu-tools/tests/
Dprime_vgem.c33 static void test_read(int vgem, int i915) in test_read() argument
43 vgem_create(vgem, &scratch); in test_read()
45 dmabuf = prime_handle_to_fd(vgem, scratch.handle); in test_read()
49 ptr = vgem_mmap(vgem, &scratch, PROT_WRITE); in test_read()
53 gem_close(vgem, scratch.handle); in test_read()
63 static void test_fence_read(int i915, int vgem) in test_fence_read() argument
78 vgem_create(vgem, &scratch); in test_fence_read()
80 dmabuf = prime_handle_to_fd(vgem, scratch.handle); in test_fence_read()
105 fence = vgem_fence_attach(vgem, &scratch, VGEM_FENCE_WRITE); in test_fence_read()
108 ptr = vgem_mmap(vgem, &scratch, PROT_WRITE); in test_fence_read()
[all …]
Dvgem_basic.c328 int vgem, dmabuf; in test_unload() local
332 vgem = __drm_open_driver(DRIVER_VGEM); in test_unload()
333 igt_require(vgem != -1); in test_unload()
334 close(vgem); in test_unload()
337 vgem = __drm_open_driver(DRIVER_VGEM); in test_unload()
338 igt_assert(vgem != -1); in test_unload()
347 vgem_create(vgem, &bo); in test_unload()
348 close(vgem); in test_unload()
354 vgem = __drm_open_driver(DRIVER_VGEM); in test_unload()
355 igt_assert(vgem != -1); in test_unload()
[all …]
/external/igt-gpu-tools/benchmarks/
Dvgem_mmap.c56 int vgem; in main() local
85 vgem = drm_open_driver(DRIVER_VGEM); in main()
90 vgem_create(vgem, &bo); in main()
91 ptr = vgem_mmap(vgem, &bo, PROT_WRITE); in main()
126 ptr = vgem_mmap(vgem, &bo, PROT_WRITE); in main()
/external/igt-gpu-tools/lib/
Digt_dummyload.c482 cork->vgem.device = drm_open_driver(DRIVER_VGEM); in plug_vgem_handle()
483 igt_require(vgem_has_fences(cork->vgem.device)); in plug_vgem_handle()
487 vgem_create(cork->vgem.device, &bo); in plug_vgem_handle()
488 cork->vgem.fence = vgem_fence_attach(cork->vgem.device, &bo, VGEM_FENCE_WRITE); in plug_vgem_handle()
490 dmabuf = prime_handle_to_fd(cork->vgem.device, bo.handle); in plug_vgem_handle()
499 vgem_fence_signal(cork->vgem.device, cork->vgem.fence); in unplug_vgem_handle()
500 close(cork->vgem.device); in unplug_vgem_handle()
Digt_dummyload.h118 struct igt_cork_vgem vgem; member
/external/igt-gpu-tools/benchmarks/ezbench.d/
Dvgem_mmap.test5 name="vgem:mmap::$i"
/external/igt-gpu-tools/docs/reference/igt-gpu-tools/
Dmeson.build45 'vgem',
/external/igt-gpu-tools/tests/i915/
Dgem_concurrent_all.c448 struct vgem_bo vgem; in vgem_create_bo() local
453 vgem.width = b->width; in vgem_create_bo()
454 vgem.height = b->height; in vgem_create_bo()
455 vgem.bpp = 32; in vgem_create_bo()
456 vgem_create(vgem_drv, &vgem); in vgem_create_bo()
459 args.handle = vgem.handle; in vgem_create_bo()
467 bo = drm_intel_bo_gem_create_from_prime(b->bufmgr, args.fd, vgem.size); in vgem_create_bo()
474 dmabuf->map = mmap(NULL, vgem.size, in vgem_create_bo()
/external/mesa3d/docs/relnotes/
D19.1.0.rst1337 - egl/sl: use kms_swrast with vgem instead of a random GPU
D20.2.0.rst3062 - egl: Allow software rendering for vgem/virtio_gpu in platform_device