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>
main
Daniel Kurtz 2014-04-17 11:54:39 +08:00 committed by Rob Clark
parent 382043ee48
commit d1000c432c
1 changed files with 1 additions and 1 deletions

View File

@ -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);