From 564c47171be849fe926986b03aedefaa0ef0da4e Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Wed, 20 Jan 2016 17:33:55 -0600 Subject: fix pipe building with upstream Signed-off-by: Rob Herring --- gralloc_drm_pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gralloc_drm_pipe.c b/gralloc_drm_pipe.c index e152171..bb50857 100644 --- a/gralloc_drm_pipe.c +++ b/gralloc_drm_pipe.c @@ -232,7 +232,7 @@ static int pipe_map(struct gralloc_drm_drv_t *drv, /* need a context to get transfer */ if (!pm->context) { - pm->context = pm->screen->context_create(pm->screen, NULL); + pm->context = pm->screen->context_create(pm->screen, NULL, 0); if (!pm->context) { ALOGE("failed to create pipe context"); err = -ENOMEM; @@ -318,7 +318,7 @@ static void pipe_blit(struct gralloc_drm_drv_t *drv, /* need a context for copying */ if (!pm->context) { - pm->context = pm->screen->context_create(pm->screen, NULL); + pm->context = pm->screen->context_create(pm->screen, NULL, 0); if (!pm->context) { ALOGE("failed to create pipe context"); pthread_mutex_unlock(&pm->mutex); -- cgit v1.1