[PATCH 5/8] exynos_fimg2d_test: fix drmModeRmFB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The first parameter should be the drm fd, second param is the fb id.

Signed-off-by: Daniel Kurtz <djkurtz@xxxxxxxxxxxx>
---
 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.0.rc1.175.g0b1dcb5

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux