summaryrefslogtreecommitdiff
path: root/tests/exynos
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2014-04-17 11:54:39 +0800
committerRob Clark <robclark@freedesktop.org>2014-05-12 23:09:20 -0400
commitd1000c432c8ce76ea64f7f9eb6094d11542e0495 (patch)
tree284a8ff3e6e065b47874641139af2871afe59807 /tests/exynos
parent382043ee4843ecafb82dda148e43953ab0d016fc (diff)
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')
-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:
exynos_destroy_buffer(src);
err_rm_fb:
- drmModeRmFB(fb_id, bo->handle);
+ drmModeRmFB(dev->fd, fb_id);
err_destroy_buffer:
exynos_destroy_buffer(bo);