summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoegeun Kwon <hoegeun.kwon@samsung.com>2018-08-20 14:15:48 +0900
committerHoegeun Kwon <hoegeun.kwon@samsung.com>2018-08-20 14:16:02 +0900
commit6c6d8a97b8697071d1775cd7d348949bdcb46e8d (patch)
treef197af43be0a7fd138a8e47f6897bc008b19ba3e
parentea5ffda64eca5897614b9e966ff17f3dbfb970eb (diff)
downloadlibdrm-6c6d8a97b8697071d1775cd7d348949bdcb46e8d.tar.gz
libdrm-6c6d8a97b8697071d1775cd7d348949bdcb46e8d.tar.bz2
libdrm-6c6d8a97b8697071d1775cd7d348949bdcb46e8d.zip
Add the test guide message for test user. Change-Id: I44380b641ac95b31c01b3b058e9b639b9b790c9c Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
-rw-r--r--tests/ipptest/fimc-ipp_v2.c5
-rw-r--r--tests/ipptest/fimctest.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/ipptest/fimc-ipp_v2.c b/tests/ipptest/fimc-ipp_v2.c
index 119fbd51..eb6b7205 100644
--- a/tests/ipptest/fimc-ipp_v2.c
+++ b/tests/ipptest/fimc-ipp_v2.c
@@ -231,6 +231,9 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count,
}
/* reset rotation for the next frame */
task.transform.rotation = DRM_MODE_ROTATE_0;
+
+ printf("Please type 'Enter' to continue...\n");
+ getchar();
} else {
/* Set Flip */
ret = drmModePageFlip(dev->fd, pipe.crtc->crtc->crtc_id,
@@ -241,8 +244,6 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count,
goto err_ipp_close;
}
}
-
- getchar();
}
break;
case IPP_CMD_M2M_NONE:
diff --git a/tests/ipptest/fimctest.c b/tests/ipptest/fimctest.c
index 00ca5803..e96b1782 100644
--- a/tests/ipptest/fimctest.c
+++ b/tests/ipptest/fimctest.c
@@ -550,6 +550,8 @@ int main(int argc, char **argv)
printf("fimc : result files are in %s\n", RESULT_PATH);
printf("avg : [%ld]\n", (i ? sum / i : 0));
}
+
+ printf("Please type 'Enter' to continue...\n");
getchar();
}