diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2014-04-17 11:54:39 +0800 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2014-05-12 23:09:20 -0400 |
commit | d1000c432c8ce76ea64f7f9eb6094d11542e0495 (patch) | |
tree | 284a8ff3e6e065b47874641139af2871afe59807 /tests/exynos | |
parent | 382043ee4843ecafb82dda148e43953ab0d016fc (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.c | 2 |
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); |