aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kurtz2014-04-16 22:54:39 -0500
committerRob Clark2014-05-12 22:09:20 -0500
commitd1000c432c8ce76ea64f7f9eb6094d11542e0495 (patch)
tree284a8ff3e6e065b47874641139af2871afe59807 /tests/exynos/exynos_fimg2d_test.c
parent382043ee4843ecafb82dda148e43953ab0d016fc (diff)
downloadexternal-libgbm-d1000c432c8ce76ea64f7f9eb6094d11542e0495.tar.gz
external-libgbm-d1000c432c8ce76ea64f7f9eb6094d11542e0495.tar.xz
external-libgbm-d1000c432c8ce76ea64f7f9eb6094d11542e0495.zip
exynos_fimg2d_test: fix drmModeRmFB
The first parameter should be the drm fd, second param is the fb id. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'tests/exynos/exynos_fimg2d_test.c')
-rw-r--r--tests/exynos/exynos_fimg2d_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index e80455a9..c6bd5589 100644
--- a/tests/exynos/exynos_fimg2d_test.c
+++ b/tests/exynos/exynos_fimg2d_test.c
@@ -682,7 +682,7 @@ err_free_src:
682 exynos_destroy_buffer(src); 682 exynos_destroy_buffer(src);
683 683
684err_rm_fb: 684err_rm_fb:
685 drmModeRmFB(fb_id, bo->handle); 685 drmModeRmFB(dev->fd, fb_id);
686 686
687err_destroy_buffer: 687err_destroy_buffer:
688 exynos_destroy_buffer(bo); 688 exynos_destroy_buffer(bo);