[PATCH 5/7] exynos_fimg2d_test: fix drmModeRmFB
Daniel Kurtz
djkurtz at chromium.org
Wed Apr 16 20:54:39 PDT 2014
The first parameter should be the drm fd, second param is the fb id.
Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Acked-by: Inki Dae <inki.dae at samsung.com>
---
tests/exynos/exynos_fimg2d_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index e80455a..c6bd558 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);
--
1.9.1.423.g4596e3a
More information about the dri-devel
mailing list