summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2015-08-31 13:32:21 -0400
committerChih-Wei Huang <cwhuang@linux.org.tw>2015-10-06 18:07:08 +0800
commit08a2f0784724205c457e357a75636c04a83a99bd (patch)
treecb25d99aa6a832b3683c63561d7f0619f8e8759c
parent2bfffba2311c507ab90a41719c7dc9f1a666eee8 (diff)
downloadexternal_drm_gralloc-08a2f0784724205c457e357a75636c04a83a99bd.zip
external_drm_gralloc-08a2f0784724205c457e357a75636c04a83a99bd.tar.gz
external_drm_gralloc-08a2f0784724205c457e357a75636c04a83a99bd.tar.bz2
WIP: always use gralloc_drm_get_pid()
Rather than accessing gralloc_drm_pid directly.
-rw-r--r--gralloc_drm.c2
1 files changed, 1 insertions, 1 deletions
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 */