diff options
Diffstat (limited to 'tests/exynos/exynos_fimg2d_test.c')
-rw-r--r-- | tests/exynos/exynos_fimg2d_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index 797fb6eb..3495c626 100644 --- a/tests/exynos/exynos_fimg2d_test.c +++ b/tests/exynos/exynos_fimg2d_test.c | |||
@@ -523,6 +523,7 @@ fail: | |||
523 | return 0; | 523 | return 0; |
524 | } | 524 | } |
525 | 525 | ||
526 | #if EXYNOS_G2D_USERPTR_TEST | ||
526 | static int g2d_blend_test(struct exynos_device *dev, | 527 | static int g2d_blend_test(struct exynos_device *dev, |
527 | struct exynos_bo *src, | 528 | struct exynos_bo *src, |
528 | struct exynos_bo *dst, | 529 | struct exynos_bo *dst, |
@@ -621,6 +622,7 @@ fail: | |||
621 | 622 | ||
622 | return 0; | 623 | return 0; |
623 | } | 624 | } |
625 | #endif | ||
624 | 626 | ||
625 | static int g2d_checkerboard_test(struct exynos_device *dev, | 627 | static int g2d_checkerboard_test(struct exynos_device *dev, |
626 | struct exynos_bo *src, | 628 | struct exynos_bo *src, |
@@ -864,7 +866,7 @@ int main(int argc, char **argv) | |||
864 | * | 866 | * |
865 | * Disable the test for now, until the kernel code has been sanitized. | 867 | * Disable the test for now, until the kernel code has been sanitized. |
866 | */ | 868 | */ |
867 | #if 0 | 869 | #if EXYNOS_G2D_USERPTR_TEST |
868 | ret = g2d_blend_test(dev, src, bo, G2D_IMGBUF_USERPTR); | 870 | ret = g2d_blend_test(dev, src, bo, G2D_IMGBUF_USERPTR); |
869 | if (ret < 0) | 871 | if (ret < 0) |
870 | fprintf(stderr, "failed to test blend operation.\n"); | 872 | fprintf(stderr, "failed to test blend operation.\n"); |