exynos/exynosdrmtest: gem buffer allocation with noncontig memory The new gem framework in v3.4 kernel requires this flag to be passed for allocating non-contig memory. BUG=None TEST=Tested with exynosdrmtest Signed-off-by: Prathyush K <prathyush.k@samsung.com> Change-Id: I75d5a8fac5aaac8c2699e6504a4363c5cd60709f Reviewed-on: https://gerrit.chromium.org/gerrit/22723 Reviewed-by: Anush Elangovan <anush@google.com>
diff --git a/tests/exynos/exynosdrmtest.c b/tests/exynos/exynosdrmtest.c index 5181117..b511d0f 100644 --- a/tests/exynos/exynosdrmtest.c +++ b/tests/exynos/exynosdrmtest.c
@@ -196,6 +196,7 @@ /* Allocate GEM object */ gem.size = size; + gem.flags = EXYNOS_BO_NONCONTIG; ret = ioctl(fd, DRM_IOCTL_EXYNOS_GEM_CREATE, &gem); if (ret < 0) { printf("Failed to create gem object\n");