summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2015-08-31 13:32:21 -0400
committerRob Clark <robdclark@gmail.com>2015-08-31 13:32:37 -0400
commit9f8b37ecbdb201dfb5722c7e6c4596076ca37ac3 (patch)
tree033f2454772c1e26265ff1c890aa1ee0e9fa4f37
parent928e9f88a171defb71c21bbc530971c09dbbac6b (diff)
downloaddrm_gralloc-9f8b37ecbdb201dfb5722c7e6c4596076ca37ac3.tar.gz
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 a0097d6..0b2d20d 100644
--- a/gralloc_drm.c
+++ b/gralloc_drm.c
@@ -207,7 +207,7 @@ static struct gralloc_drm_bo_t *validate_handle(buffer_handle_t _handle,
LOGHDL(handle);
/* 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 */