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>main
parent
c8168fe5b8
commit
a7c865dc0a
|
@ -668,11 +668,21 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
getchar();
|
getchar();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The blend test uses the userptr functionality of exynos-drm, which
|
||||||
|
* is currently not safe to use. If the kernel hasn't been build with
|
||||||
|
* exynos-iommu support, then the blend test is going to produce (kernel)
|
||||||
|
* memory corruption, eventually leading to a system crash.
|
||||||
|
*
|
||||||
|
* Disable the test for now, until the kernel code has been sanitized.
|
||||||
|
*/
|
||||||
|
#if 0
|
||||||
ret = test_case.blend(dev, src, bo, G2D_IMGBUF_USERPTR);
|
ret = test_case.blend(dev, src, bo, G2D_IMGBUF_USERPTR);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
fprintf(stderr, "failed to test blend operation.\n");
|
fprintf(stderr, "failed to test blend operation.\n");
|
||||||
|
|
||||||
getchar();
|
getchar();
|
||||||
|
#endif
|
||||||
|
|
||||||
err_free_src:
|
err_free_src:
|
||||||
if (src)
|
if (src)
|
||||||
|
|
Loading…
Reference in New Issue