diff options
author | Tobias Jakobi | 2015-02-24 08:20:42 -0600 |
---|---|---|
committer | Emil Velikov | 2015-03-10 14:21:21 -0500 |
commit | a7c865dc0a574c67208855b5b814dc874a02fa85 (patch) | |
tree | 03fd8b97d5f8740bba37681eb6af0362360c3a38 /tests | |
parent | c8168fe5b8e4c448976a79d5b00d10e31e304cf5 (diff) | |
download | external-libgbm-a7c865dc0a574c67208855b5b814dc874a02fa85.tar.gz external-libgbm-a7c865dc0a574c67208855b5b814dc874a02fa85.tar.xz external-libgbm-a7c865dc0a574c67208855b5b814dc874a02fa85.zip |
tests/exynos: disable the G2D userptr/blend test
v2: Move the commit description into the patch itself.
v3: Use common commenting style as pointed out by
Emil Velikov <emil.l.velikov@gmail.com>.
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/exynos/exynos_fimg2d_test.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index 7ab09a5b..8ef0eb3a 100644 --- a/tests/exynos/exynos_fimg2d_test.c +++ b/tests/exynos/exynos_fimg2d_test.c | |||
@@ -668,11 +668,21 @@ int main(int argc, char **argv) | |||
668 | 668 | ||
669 | getchar(); | 669 | getchar(); |
670 | 670 | ||
671 | /* | ||
672 | * The blend test uses the userptr functionality of exynos-drm, which | ||
673 | * is currently not safe to use. If the kernel hasn't been build with | ||
674 | * exynos-iommu support, then the blend test is going to produce (kernel) | ||
675 | * memory corruption, eventually leading to a system crash. | ||
676 | * | ||
677 | * Disable the test for now, until the kernel code has been sanitized. | ||
678 | */ | ||
679 | #if 0 | ||
671 | ret = test_case.blend(dev, src, bo, G2D_IMGBUF_USERPTR); | 680 | ret = test_case.blend(dev, src, bo, G2D_IMGBUF_USERPTR); |
672 | if (ret < 0) | 681 | if (ret < 0) |
673 | fprintf(stderr, "failed to test blend operation.\n"); | 682 | fprintf(stderr, "failed to test blend operation.\n"); |
674 | 683 | ||
675 | getchar(); | 684 | getchar(); |
685 | #endif | ||
676 | 686 | ||
677 | err_free_src: | 687 | err_free_src: |
678 | if (src) | 688 | if (src) |