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-03-15 18:32:18 +0900
commita3fffa0667da85196ccc043458440a6fe21f95b3 (patch)
tree828f9487fba72c31ec6ce05ecd4f09f549ab634c
parent4b1339e2d379a1ec243cf214f8492d84309766ae (diff)
downloadlibdrm-old/tizen_20190424.tar.gz
libdrm-old/tizen_20190424.tar.bz2
libdrm-old/tizen_20190424.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: