Home
last modified time | relevance | path

Searched refs:igt_assert_f (Results 1 – 25 of 101) sorted by relevance

12345

/external/igt-gpu-tools/tools/
Dintel_guc_logger.c87 igt_assert_f(control_fd >= 0, "couldn't open the guc log control file\n"); in guc_log_control()
103 igt_assert_f(ret > 0, "couldn't write to the log control file\n"); in guc_log_control()
126 igt_assert_f(ret > 0, "failed to read from the guc log file\n"); in pull_leftover_data()
127 igt_assert_f(ret == SUBBUF_SIZE, "invalid read from relay file\n"); in pull_leftover_data()
133 igt_assert_f(ret == SUBBUF_SIZE, "couldn't dump the logs in a file\n"); in pull_leftover_data()
166 igt_assert_f(ret >= 0, "failed to read from the guc log file\n"); in pull_data()
167 igt_assert_f(!ret || ret == SUBBUF_SIZE, "invalid read from relay file\n"); in pull_data()
210 igt_assert_f(ret == SUBBUF_SIZE, "couldn't dump the logs in a file\n"); in flusher()
238 igt_assert_f(ret == 0, "error obtaining default thread attributes\n"); in init_flusher_thread()
241 igt_assert_f(ret == 0, "couldn't set inheritsched\n"); in init_flusher_thread()
[all …]
/external/igt-gpu-tools/tests/
Dsw_sync.c73 igt_assert_f(__sw_sync_timeline_create_fence(-1, 0) < 0, in test_alloc_fence_invalid_timeline()
86 igt_assert_f(sync_fence_wait(fence, 0) == 0, in test_timeline_closed()
88 igt_assert_f(sync_fence_status(fence) == -ENOENT, in test_timeline_closed()
102 igt_assert_f(sync_fence_wait(fence, 0) == 0, in test_timeline_closed_signaled()
136 igt_assert_f(sync_fence_wait(fence, 0) == -ETIME, in test_sync_busy()
143 igt_assert_f(sync_fence_wait(fence, 0) == -ETIME, in test_sync_busy()
148 igt_assert_f(sync_fence_wait(fence, 0) == 0, in test_sync_busy()
153 igt_assert_f(sync_fence_wait(fence, 0) == 0, in test_sync_busy()
164 igt_assert_f(sync_fence_wait(fence_prime, 0) == 0, in test_sync_busy()
234 igt_assert_f(sync_fence_wait(fence, 0) == -ETIME, in test_sync_busy_fork_unixsocket()
[all …]
Dkms_content_protection.c254 igt_assert_f(wait_for_hdcp_event(output->id, in wait_for_prop_value()
289 igt_assert_f(!ret, "wait_flip_event failed. %d\n", ret); in commit_display_and_wait_for_flip()
376 igt_assert_f(ret, "Content Protection not cleared\n"); in test_cp_disable()
401 igt_assert_f(!ret, in test_cp_enable_with_retry()
404 igt_assert_f(ret, "Content Protection not enabled\n"); in test_cp_enable_with_retry()
425 igt_assert_f(!ret, "Content Protection LIC Failed\n"); in test_cp_lic()
487 igt_assert_f(!igt_kmod_unload("mei_hdcp", 0), in test_content_protection_on_output()
494 igt_assert_f(!igt_kmod_load("mei_hdcp", NULL), in test_content_protection_on_output()
691 igt_assert_f(ret, "SRM update failed");
Dkms_plane_multiple.c73 igt_assert_f(data->plane != NULL, "Failed to allocate memory for planes\n"); in test_init()
76 igt_assert_f(data->fb != NULL, "Failed to allocate memory for FBs\n"); in test_init()
185igt_assert_f(x, "Failed to allocate %ld bytes for variable x\n", (long int) (pipe->n_planes * size… in prepare_planes()
187igt_assert_f(y, "Failed to allocate %ld bytes for variable y\n", (long int) (pipe->n_planes * size… in prepare_planes()
189igt_assert_f(size, "Failed to allocate %ld bytes for variable size\n", (long int) (pipe->n_planes … in prepare_planes()
191igt_assert_f(suffle, "Failed to allocate %ld bytes for variable size\n", (long int) (pipe->n_plane… in prepare_planes()
Dvgem_basic.c341 igt_assert_f(module_unload() != 0, in test_unload()
351 igt_assert_f(module_unload() == 0, in test_unload()
364 igt_assert_f(module_unload() != 0, in test_unload()
368 igt_assert_f(module_unload() == 0, in test_unload()
385 igt_assert_f(module_unload() == 0, in test_unload()
Dkms_concurrent.c65 igt_assert_f(data->plane != NULL, "Failed to allocate memory for planes\n"); in test_init()
68 igt_assert_f(data->fb != NULL, "Failed to allocate memory for FBs\n"); in test_init()
172igt_assert_f(x, "Failed to allocate %ld bytes for variable x\n", (long int) (p->n_planes * sizeof(… in prepare_planes()
175igt_assert_f(y, "Failed to allocate %ld bytes for variable y\n", (long int) (p->n_planes * sizeof(… in prepare_planes()
178igt_assert_f(size, "Failed to allocate %ld bytes for variable size\n", (long int) (p->n_planes * s… in prepare_planes()
Dkms_chamelium.c156 igt_assert_f(false, "Timed out waiting for %s to get %s\n", in wait_for_connector()
260 igt_assert_f(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT), in test_basic_hotplug()
263 igt_assert_f(status == DRM_MODE_CONNECTED, in test_basic_hotplug()
272 igt_assert_f(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT), in test_basic_hotplug()
274 igt_assert_f(status == DRM_MODE_DISCONNECTED, in test_basic_hotplug()
522 igt_assert_f(found, "No pipe found for output %s\n", igt_output_name(output)); in prepare_output()
585 igt_assert_f(find_mode(prev, prev_len, &cur[i]), in check_modes_subset()
632 igt_assert_f(link_status == DRM_MODE_LINK_STATUS_GOOD, in test_link_status()
682 igt_assert_f(link_status == DRM_MODE_LINK_STATUS_BAD, in test_link_status()
1153 igt_assert_f(found, in test_display_aspect_ratio()
[all …]
Dkms_flip.c495 igt_assert_f(diff.tv_sec < 0 || (diff.tv_sec == 0 && diff.tv_usec <= 2000), in check_state()
504 igt_assert_f(timercmp(&es->last_received_ts, &es->current_ts, <), in check_state()
513 igt_assert_f(es->current_seq - (es->last_seq + o->seq_step) <= 1UL << 23, in check_state()
530 igt_assert_f(fabs((elapsed - expected) / expected) <= 0.005, in check_state()
536 igt_assert_f(es->current_seq == es->last_seq + o->seq_step, in check_state()
562 igt_assert_f(fabs(usec_diff) / ftime <= 0.005, in check_state_correlation()
728 igt_assert_f(set_mode(o, 0 /* no fb */, 0, 0) == 0, in run_test_step()
754 igt_assert_f(end - start > 0.9 * mode_frame_time(o) && in run_test_step()
809 igt_assert_f(set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0, in run_test_step()
819 igt_assert_f(set_mode(o, 0 /* no fb */, 0, 0) == 0, in run_test_step()
[all …]
Dprime_nv_pcopy.c118 igt_assert_f((*bo)->size >= size, in nv_bo_alloc()
420 igt_assert_f(p[0] == val && p[1] == val && p[2] == val && p[3] == val, in check1_macro()
428 igt_assert_f(p[0] == val && p[1] == val && p[2] == val && p[3] == val, in check1_macro()
437 igt_assert_f(p[0] == val && p[1] == val && p[2] == val && p[3] == val, in check1_macro()
445 igt_assert_f(p[0] == val && p[1] == val && p[2] == val && p[3] == val, in check1_macro()
533 igt_assert_f(expected == m[x], in check1_micro()
659 igt_assert_f(p[pitch * lines / 4 - 1] != 0x03030303, in check3()
670 igt_assert_f(*p == expected, in check3()
Dkms_sysfs_edid_timing.c89 igt_assert_f(mean.mean < (THRESHOLD_TOTAL * 1e6),
Dkms_dp_dsc.c123 igt_assert_f(ret > 0, "debugfs_write failed"); in force_dp_dsc_enable()
230 igt_assert_f(enabled, in update_display()
/external/igt-gpu-tools/runner/
Drunner_tests.c28 igt_assert_f(one != NULL && two != NULL, "Strings differ (one is NULL): %s vs %s\n", one, two); in igt_assert_eqstr()
30 igt_assert_f(!strcmp(one, two), "Strings differ: '%s' vs '%s'\n", one, two); in igt_assert_eqstr()
105 igt_assert_f(success, "Job list creation failed\n"); in job_list_filter_test()
194 igt_assert_f((fd = openat(dirfd, name, O_RDONLY)) >= 0, in assert_execution_created()
770 igt_assert_f(dirfd >= 0, "Serialization did not create the results directory\n");
772 igt_assert_f((fd = openat(dirfd, "metadata.txt", O_RDONLY)),
776 igt_assert_f(read_settings_from_dir(cmp_settings, dirfd), "Reading settings failed\n");
821 igt_assert_f(dirfd >= 0, "Serialization did not create the results directory\n");
823 igt_assert_f((fd = openat(dirfd, "joblist.txt", O_RDONLY)) >= 0,
828 igt_assert_f(read_job_list(cmp_list, dirfd), "Reading job list failed\n");
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_tiled_partial_pwrite_pread.c139 igt_assert_f(tmp[j] == val, in test_partial_reads()
170 igt_assert_f(compare_tmp[j] == val, in test_partial_writes()
175 igt_assert_f(compare_tmp[j] == tmp[0], in test_partial_writes()
180 igt_assert_f(compare_tmp[j] == val, in test_partial_writes()
206 igt_assert_f(tmp[j] == val, in test_partial_read_writes()
229 igt_assert_f(compare_tmp[j] == val, in test_partial_read_writes()
234 igt_assert_f(compare_tmp[j] == tmp[0], in test_partial_read_writes()
239 igt_assert_f(compare_tmp[j] == val, in test_partial_read_writes()
Dgem_caching.c155 igt_assert_f(cpu_ptr[j] == val0,
190 igt_assert_f(gtt_ptr[j] == val0,
195 igt_assert_f(gtt_ptr[j] == val1,
200 igt_assert_f(gtt_ptr[j] == val0,
228 igt_assert_f(cpu_ptr[j] == val0,
253 igt_assert_f(gtt_ptr[j] == val1,
258 igt_assert_f(gtt_ptr[j] == val2,
263 igt_assert_f(gtt_ptr[j] == val1,
Dgem_partial_pwrite_pread.c122 igt_assert_f(tmp[j] == val, in test_partial_reads()
153 igt_assert_f(gtt_ptr[j] == val, in test_partial_writes()
158 igt_assert_f(gtt_ptr[j] == tmp[0], in test_partial_writes()
163 igt_assert_f(gtt_ptr[j] == val, in test_partial_writes()
189 igt_assert_f(tmp[j] == val, in test_partial_read_writes()
210 igt_assert_f(gtt_ptr[j] == val, in test_partial_read_writes()
215 igt_assert_f(gtt_ptr[j] == tmp[0], in test_partial_read_writes()
220 igt_assert_f(gtt_ptr[j] == val, in test_partial_read_writes()
Dgem_fence_thrash.c143 igt_assert_f(a[0] == 0xdeadbeef, in _bo_write_verify()
148 igt_assert_f(a[dwords - 1] == 0xc0ffee, in _bo_write_verify()
158 igt_assert_f(tmp[j] == ~(i+ j), in _bo_write_verify()
169 igt_assert_f(tmp[j] == i + j, in _bo_write_verify()
Dgem_tiled_pread_basic.c206 igt_assert_f(0, "Bad swizzle bits; %d\n",
211 igt_assert_f(expected == found,
Di915_pm_rc6_residency.c93 igt_assert_f(ratio > 0.9 && ratio < 1.05, in residency_accuracy()
157 igt_assert_f(retry < 2, "residency values are not consistent\n"); in measure_residencies()
Di915_hangman.c70 igt_assert_f(!!strcasecmp(error, s) != expect, in assert_entry()
253 igt_assert_f(0, "unterminated batch did not trigger an hang!"); in hangcheck_unterminated()
Dgem_pread_after_blit.c90 igt_assert_f(buf[i] == val, in verify_large_read()
112 igt_assert_f(buf[i / 4] == val, in verify_small_read()
/external/igt-gpu-tools/lib/tests/
Digt_edid.c91 igt_assert_f(edid_header_is_valid(raw_edid),
94 igt_assert_f(edid_block_checksum(raw_edid),
97 igt_assert_f(raw_edid[126] == f->exts,
102 igt_assert_f(edid_block_checksum(raw_block),
/external/igt-gpu-tools/lib/
Dsw_sync.c94 igt_assert_f(kernel_sw_sync_path(buf, sizeof(buf)), in sw_sync_timeline_create()
98 igt_assert_f(sw_sync_fd_is_valid(fd), "Created invalid timeline\n"); in sw_sync_timeline_create()
117 igt_assert_f(sw_sync_fd_is_valid(fence), "Created invalid fence\n"); in sw_sync_timeline_create_fence()
202 igt_assert_f(count >= 0, "No fences with supplied status found\n"); in sync_fence_count_status()
Digt_pm.c562 igt_assert_f(fd >= 0, "Can't open " POWER_DIR "/control\n"); in igt_setup_runtime_pm()
582 igt_assert_f(pm_status_fd >= 0, in igt_setup_runtime_pm()
612 igt_assert_f(false, "Unknown status %s\n", buf); in igt_get_runtime_pm_status()
Digt_device.c94 igt_assert_f(__igt_device_drop_master(fd) == 0, in igt_device_drop_master()
/external/igt-gpu-tools/tests/amdgpu/
Damd_bypass.c147 igt_assert_f(0, "DRM Format Invalid"); in draw_dp_test_pattern_color_ramp()
189 igt_assert_f(0, "DRM Format Invalid"); in draw_dp_test_pattern_vert_lines()
229 igt_assert_f(0, "DRM Format Invalid"); in draw_dp_test_pattern_horz_lines()
286 igt_assert_f(0, "DRM Format Invalid"); in draw_dp_test_pattern_color_squares_vesa()

12345