summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoegeun Kwon <hoegeun.kwon@samsung.com>2018-10-10 13:52:59 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2019-04-25 17:59:27 +0900
commit93088e84c4967a7aaeef645d3687339f8726376c (patch)
treee80f09b7b49c339c2e9980aa03cdce907486a086
parent9a36c58c4fc1528ec21f0e4455fefd98625ff5f5 (diff)
downloadlibdrm-tizen_5.5_tv.tar.gz
libdrm-tizen_5.5_tv.tar.bz2
libdrm-tizen_5.5_tv.zip
fimc-ipp_v2.c:254:1: warning: label 'err_ipp_dst_buff_close' defined but not used [-Wunused-label] err_ipp_dst_buff_close: Change-Id: I6c5ca0f9a393cc68da948973ee2ec1430af853ce Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
-rw-r--r--tests/ipptest/fimc-ipp_v2.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/ipptest/fimc-ipp_v2.c b/tests/ipptest/fimc-ipp_v2.c
index a6875827..2ec28ed4 100644
--- a/tests/ipptest/fimc-ipp_v2.c
+++ b/tests/ipptest/fimc-ipp_v2.c
@@ -158,7 +158,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count,
task.transform.rotation = DRM_MODE_ROTATE_270;
else {
fprintf(stderr, "invalid rotation value\n");
- goto err_ipp_close;
+ goto err_ipp_dst_buff_close;
}
/* prepare ioctl data */
@@ -181,7 +181,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count,
ret = ioctl(dev->fd, DRM_IOCTL_EXYNOS_IPP_COMMIT, &arg);
if (ret) {
fprintf(stderr, "failed to process image\n");
- goto err_ipp_close;
+ goto err_ipp_dst_buff_close;
}
gettimeofday(&end, NULL);
@@ -202,7 +202,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count,
fprintf(stderr, "failed to add fb (%ux%u):%d\n",
dev->mode.width, dev->mode.height,
errno);
- goto err_ipp_close;
+ goto err_ipp_dst_buff_close;
}
for (j = 0; j < 2; j++) {
@@ -210,7 +210,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count,
ret = ioctl(dev->fd, DRM_IOCTL_EXYNOS_IPP_COMMIT, &arg);
if (ret) {
fprintf(stderr, "failed to process image\n");
- goto err_ipp_close;
+ goto err_ipp_dst_buff_close;
}
gettimeofday(&end, NULL);
usec[j] = (end.tv_sec - begin.tv_sec) * 1000000 +
@@ -223,7 +223,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count,
pipe.num_cons, pipe.mode);
if (ret) {
fprintf(stderr, "failed to set crtc: %d\n", errno);
- goto err_ipp_close;
+ goto err_ipp_dst_buff_close;
}
/* reset rotation for the next frame */
task.transform.rotation = DRM_MODE_ROTATE_0;
@@ -237,7 +237,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count,
if (ret) {
fprintf(stderr, "failed to page flip: %d\n",
errno);
- goto err_ipp_close;
+ goto err_ipp_dst_buff_close;
}
}
}
@@ -246,7 +246,6 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count,
break;
}
-err_ipp_close:
err_ipp_dst_buff_close:
util_kms_gem_destroy_mmap(&bo_dst);
err_ipp_src_buff_close: