From 08a2f0784724205c457e357a75636c04a83a99bd Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 31 Aug 2015 13:32:21 -0400 Subject: WIP: always use gralloc_drm_get_pid() Rather than accessing gralloc_drm_pid directly. --- gralloc_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gralloc_drm.c b/gralloc_drm.c index 3478dde..54b9408 100644 --- a/gralloc_drm.c +++ b/gralloc_drm.c @@ -205,7 +205,7 @@ static struct gralloc_drm_bo_t *validate_handle(buffer_handle_t _handle, return NULL; /* the buffer handle is passed to a new process */ - if (unlikely(handle->data_owner != gralloc_drm_pid)) { + if (unlikely(handle->data_owner != gralloc_drm_get_pid())) { struct gralloc_drm_bo_t *bo; /* check only */ -- cgit v1.1