mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 09:56:22 +00:00
test/kms_flip: fix up igt logging conversion
Silly me ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
cef9b31a24
commit
959783684e
@ -862,7 +862,7 @@ static unsigned int run_test_step(struct test_output *o)
|
|||||||
if (o->flags & TEST_DPMS)
|
if (o->flags & TEST_DPMS)
|
||||||
set_dpms(o, DRM_MODE_DPMS_ON);
|
set_dpms(o, DRM_MODE_DPMS_ON);
|
||||||
|
|
||||||
igt_log("."); fflush(stdout);
|
igt_info("."); fflush(stdout);
|
||||||
|
|
||||||
if (do_flip && (o->flags & TEST_HANG)) {
|
if (do_flip && (o->flags & TEST_HANG)) {
|
||||||
handle = gem_create(drm_fd, 4096);
|
handle = gem_create(drm_fd, 4096);
|
||||||
@ -1218,7 +1218,7 @@ static void run_test_on_crtc_set(struct test_output *o, int *crtc_idxs,
|
|||||||
|
|
||||||
last_connector = o->kconnector[0];
|
last_connector = o->kconnector[0];
|
||||||
|
|
||||||
igt_log("Beginning %s\n", test_name);
|
igt_info("Beginning %s\n", test_name);
|
||||||
|
|
||||||
if (o->flags & TEST_PAN)
|
if (o->flags & TEST_PAN)
|
||||||
o->fb_width *= 2;
|
o->fb_width *= 2;
|
||||||
@ -1284,7 +1284,7 @@ static void run_test_on_crtc_set(struct test_output *o, int *crtc_idxs,
|
|||||||
if (o->flags & TEST_VBLANK)
|
if (o->flags & TEST_VBLANK)
|
||||||
check_final_state(o, &o->vblank_state, elapsed);
|
check_final_state(o, &o->vblank_state, elapsed);
|
||||||
|
|
||||||
igt_log("\n%s: PASSED\n\n", test_name);
|
igt_info("\n%s: PASSED\n\n", test_name);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
kmstest_remove_fb(drm_fd, &o->fb_info[2]);
|
kmstest_remove_fb(drm_fd, &o->fb_info[2]);
|
||||||
@ -1429,8 +1429,8 @@ static void get_timestamp_format(void)
|
|||||||
ret = drmGetCap(drm_fd, DRM_CAP_TIMESTAMP_MONOTONIC, &cap_mono);
|
ret = drmGetCap(drm_fd, DRM_CAP_TIMESTAMP_MONOTONIC, &cap_mono);
|
||||||
igt_assert(ret == 0 || errno == EINVAL);
|
igt_assert(ret == 0 || errno == EINVAL);
|
||||||
monotonic_timestamp = ret == 0 && cap_mono == 1;
|
monotonic_timestamp = ret == 0 && cap_mono == 1;
|
||||||
igt_log("Using %s timestamps\n",
|
igt_info("Using %s timestamps\n",
|
||||||
monotonic_timestamp ? "monotonic" : "real");
|
monotonic_timestamp ? "monotonic" : "real");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void kms_flip_exit_handler(int sig)
|
static void kms_flip_exit_handler(int sig)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user