Home
last modified time | relevance | path

Searched refs:do_or_die (Results 1 – 25 of 31) sorted by relevance

12

/external/igt-gpu-tools/tests/i915/
Dgem_caching.c84 do_or_die(drm_intel_gem_bo_map_gtt(tmp_bo)); in blt_bo_fill()
186 do_or_die(drm_intel_gem_bo_map_gtt(staging_bo));
225 do_or_die(drm_intel_bo_map(scratch_bo, false));
244 do_or_die(drm_intel_bo_map(scratch_bo, false));
249 do_or_die(drm_intel_gem_bo_map_gtt(staging_bo));
Dgem_tiled_blits.c73 do_or_die(drm_intel_bo_set_tiling(bo, &tiling, width * 4)); in create_bo()
79 do_or_die(drm_intel_bo_map(linear_bo, 1)); in create_bo()
104 do_or_die(drm_intel_bo_map(linear_bo, 0)); in check_bo()
Dgem_render_tiled_blits.c76 do_or_die(drm_intel_bo_map(linear, 0)); in check_bo()
79 do_or_die(drm_intel_bo_get_subdata(linear, 0, sizeof(data), data)); in check_bo()
142 do_or_die(drm_intel_gem_bo_map_gtt(buf[i].bo)); in run_test()
Dgem_partial_pwrite_pread.c85 do_or_die(drm_intel_gem_bo_map_gtt(tmp_bo)); in blt_bo_fill()
120 do_or_die(drm_intel_bo_get_subdata(scratch_bo, start, len, tmp)); in test_partial_reads()
206 do_or_die(drm_intel_gem_bo_map_gtt(staging_bo)); in test_partial_read_writes()
Dgem_ppgtt.c56 do_or_die(drm_intel_bo_map(bo, 1)); in create_bo()
228 do_or_die(drm_intel_bo_map(bo[child], 0)); in surfaces_check()
Dgem_lut_handle.c179 do_or_die(exec(fd, handle, NORMAL));
184 do_or_die(exec(fd, handle, USE_LUT));
Dgem_concurrent_all.c112 do_or_die(drm_intel_bo_get_subdata(bo, 0, 4*b->npixels, vaddr)); in prw_cmp_bo()
123 do_or_die(drm_intel_bo_subdata(bo, 4*pixel(y, b->width), 4, &val)); in partial_set_bo()
131 do_or_die(drm_intel_bo_get_subdata(bo, 4*pixel(y, b->width), 4, &buf)); in partial_cmp_bo()
269 do_or_die(drmIoctl(fd, LOCAL_IOCTL_I915_GEM_USERPTR, &userptr)); in userptr_create_bo()
511 do_or_die(drm_intel_gem_bo_map_gtt(bo)); in map_bo()
522 do_or_die(drm_intel_bo_set_tiling(bo, &tiling, stride)); in tile_bo()
610 do_or_die(drm_intel_bo_map(bo, true)); in cpu_set_bo()
623 do_or_die(drm_intel_bo_map(bo, false)); in cpu_cmp_bo()
Dgem_read_read_speed.c101 do_or_die(drm_intel_bo_map(bo, 1)); in set_bo()
/external/igt-gpu-tools/tests/
Dcore_setmaster_vs_auth.c53 do_or_die(drmSetMaster(master1));
57 do_or_die(drmGetMagic(client, &magic));
Dkms_lease.c342 do_or_die(create_lease(data->master.fd, &mcl)); in page_flip_implicit_plane()
349 do_or_die(drmModePageFlip(data->master.fd, data->crtc_id, in page_flip_implicit_plane()
355 do_or_die(drmModePageFlip(mcl.fd, data->crtc_id, in page_flip_implicit_plane()
361 do_or_die(create_lease(data->master.fd, &mcl)); in page_flip_implicit_plane()
407 do_or_die(create_lease(data->master.fd, &mcl)); in setcrtc_implicit_plane()
414 do_or_die(drmModeSetCrtc(data->master.fd, data->crtc_id, -1, in setcrtc_implicit_plane()
416 do_or_die(drmModeSetCrtc(mcl.fd, data->crtc_id, -1, in setcrtc_implicit_plane()
421 do_or_die(create_lease(data->master.fd, &mcl)); in setcrtc_implicit_plane()
427 do_or_die(drmModeSetCrtc(mcl.fd, data->crtc_id, in setcrtc_implicit_plane()
448 do_or_die(create_lease(data->master.fd, &mcl)); in cursor_implicit_plane()
[all …]
Dkms_rmfb.c70 do_or_die(drmGetCap(data->drm_fd, DRM_CAP_CURSOR_WIDTH, &cursor_width)); in test_rmfb()
71 do_or_die(drmGetCap(data->drm_fd, DRM_CAP_CURSOR_HEIGHT, &cursor_height)); in test_rmfb()
Dcore_auth.c97 do_or_die(getrlimit(RLIMIT_NOFILE, &fd_limit)); in test_many_magics()
99 do_or_die(setrlimit(RLIMIT_NOFILE, &fd_limit)); in test_many_magics()
Dkms_busy.c98 do_or_die(drmModePageFlip(dpy->drm_fd, in flip_to_fb()
161 do_or_die(drmModePageFlip(dpy->drm_fd, in test_flip()
276do_or_die(drmModePageFlip(dpy->drm_fd, dpy->pipes[pipe].crtc_id, fb.fb_id, DRM_MODE_PAGE_FLIP_EVEN… in test_pageflip_modeset_hang()
Dkms_force_connector_basic.c157 do_or_die(drmModeSetPlane(drm_fd, plane_id, crtc_id,
162 do_or_die(drmModeSetPlane(drm_fd, plane_id, crtc_id,
Dkms_flip.c595 do_or_die(drmModeAddFB(drm_fd, o->fb_width, o->fb_height, o->depth, in recreate_fb()
601 do_or_die(drmModeRmFB(drm_fd, fb_info->fb_id)); in recreate_fb()
702 do_or_die(__wait_for_vblank(TEST_VBLANK_ABSOLUTE | in run_test_step()
774 do_or_die(do_page_flip(o, new_fb_id, !(o->flags & TEST_NOEVENT))); in run_test_step()
780 do_or_die(do_wait_for_vblank(o, o->pipe, target_seq, in run_test_step()
1053 do_or_die(drmHandleEvent(drm_fd, &evctx)); in wait_for_events()
1119 do_or_die(drmWaitVBlank(drm_fd, &wait)); in calibrate_ts()
1134 do_or_die(drmWaitVBlank(drm_fd, &wait)); in calibrate_ts()
1139 do_or_die(drmWaitVBlank(drm_fd, &check)); in calibrate_ts()
Dkms_atomic_interruptible.c198 do_or_die(drmModeCreatePropertyBlob(display->drm_fd, mode, sizeof(*mode), &mode_blob)); in run_plane_test()
203 do_or_die(drmModeDestroyPropertyBlob(display->drm_fd, mode_blob)); in run_plane_test()
Dkms_setmode.c441 do_or_die(drmWaitVBlank(drm_fd, &wait)); in check_timings()
456 do_or_die(drmWaitVBlank(drm_fd, &wait)); in check_timings()
461 do_or_die(drmWaitVBlank(drm_fd, &check)); in check_timings()
Dprime_vgem.c631 do_or_die(drmIoctl(fd, DRM_IOCTL_MODE_GETCONNECTOR, &conn)); in set_fb_on_crtc()
707 do_or_die(drmModePageFlip(i915, crtc_id, fb_id, in flip_to_vgem()
798 do_or_die(drmModePageFlip(i915, crtc_id, fb_id[i], in test_flip()
810 do_or_die(drmModeRmFB(i915, fb_id[i])); in test_flip()
Dkms_atomic.c198 do_or_die(memcmp(&legacy->mode, mode, sizeof(*mode))); in crtc_check_current_state()
228 do_or_die(memcmp(pipe_values, current_pipe_values, sizeof(current_pipe_values))); in crtc_check_current_state()
509 do_or_die(drmGetCap(pipe_obj->display->drm_fd, in plane_cursor()
511 do_or_die(drmGetCap(pipe_obj->display->drm_fd, in plane_cursor()
Dkms_vblank.c203 do_or_die(drmModePageFlip(fd, crtc_id, in crtc_id_subtest()
330 do_or_die(igt_ioctl(fd, DRM_IOCTL_WAIT_VBLANK, &vbl)); in get_vblank()
Dkms_mmap_write_crc.c159 do_or_die(drmModeDirtyFB(data->drm_fd, fb->fb_id, NULL, 0)); in test()
Ddrm_read.c58 do_or_die(poll(&pfd, 1, 0)); in assert_empty()
/external/igt-gpu-tools/lib/
Ddrmtest.h103 #define do_or_die(x) igt_assert((x) == 0) macro
Dintel_batchbuffer.c231 do_or_die(drm_intel_bo_subdata(batch->bo, 0, used, batch->buffer)); in intel_batchbuffer_flush_on_ring()
239 do_or_die(drm_intel_gem_bo_context_exec(batch->bo, ctx, used, ring)); in intel_batchbuffer_flush_on_ring()
/external/igt-gpu-tools/benchmarks/
Dkms_throughput.c401 do_or_die(drmSetClientCap(
406 do_or_die(drmSetClientCap(

12