diff options
author | Rob Herring <robh@kernel.org> | 2016-01-20 17:33:55 -0600 |
---|---|---|
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2016-03-17 10:54:50 +0800 |
commit | 564c47171be849fe926986b03aedefaa0ef0da4e (patch) | |
tree | 649ac0a62c1c98123c8fe9a9f161735c629492e8 | |
parent | 556f7c16363330aabeb0b95b93719a0d66af4b7f (diff) | |
download | external_drm_gralloc-564c47171be849fe926986b03aedefaa0ef0da4e.zip external_drm_gralloc-564c47171be849fe926986b03aedefaa0ef0da4e.tar.gz external_drm_gralloc-564c47171be849fe926986b03aedefaa0ef0da4e.tar.bz2 |
fix pipe building with upstream
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | gralloc_drm_pipe.c | 4 |
1 files 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); |