/external/igt-gpu-tools/tests/i915/ |
D | gem_caching.c | 84 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));
|
D | gem_tiled_blits.c | 73 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()
|
D | gem_render_tiled_blits.c | 76 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()
|
D | gem_partial_pwrite_pread.c | 85 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()
|
D | gem_ppgtt.c | 56 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()
|
D | gem_lut_handle.c | 179 do_or_die(exec(fd, handle, NORMAL)); 184 do_or_die(exec(fd, handle, USE_LUT));
|
D | gem_concurrent_all.c | 112 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()
|
D | gem_read_read_speed.c | 101 do_or_die(drm_intel_bo_map(bo, 1)); in set_bo()
|
/external/igt-gpu-tools/tests/ |
D | core_setmaster_vs_auth.c | 53 do_or_die(drmSetMaster(master1)); 57 do_or_die(drmGetMagic(client, &magic));
|
D | kms_lease.c | 342 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 …]
|
D | kms_rmfb.c | 70 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()
|
D | core_auth.c | 97 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()
|
D | kms_busy.c | 98 do_or_die(drmModePageFlip(dpy->drm_fd, in flip_to_fb() 161 do_or_die(drmModePageFlip(dpy->drm_fd, in test_flip() 276 …do_or_die(drmModePageFlip(dpy->drm_fd, dpy->pipes[pipe].crtc_id, fb.fb_id, DRM_MODE_PAGE_FLIP_EVEN… in test_pageflip_modeset_hang()
|
D | kms_force_connector_basic.c | 157 do_or_die(drmModeSetPlane(drm_fd, plane_id, crtc_id, 162 do_or_die(drmModeSetPlane(drm_fd, plane_id, crtc_id,
|
D | kms_flip.c | 595 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()
|
D | kms_atomic_interruptible.c | 198 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()
|
D | kms_setmode.c | 441 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()
|
D | prime_vgem.c | 631 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()
|
D | kms_atomic.c | 198 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()
|
D | kms_vblank.c | 203 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()
|
D | drm_read.c | 58 do_or_die(poll(&pfd, 1, 0)); in assert_empty()
|
D | kms_mmap_write_crc.c | 159 do_or_die(drmModeDirtyFB(data->drm_fd, fb->fb_id, NULL, 0)); in test()
|
/external/igt-gpu-tools/lib/ |
D | drmtest.h | 103 #define do_or_die(x) igt_assert((x) == 0) macro
|
D | intel_batchbuffer.c | 231 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/ |
D | kms_throughput.c | 401 do_or_die(drmSetClientCap( 406 do_or_die(drmSetClientCap(
|