diff options
author | Rob Clark <robdclark@gmail.com> | 2015-08-31 13:32:21 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-08-31 13:32:37 -0400 |
commit | 9f8b37ecbdb201dfb5722c7e6c4596076ca37ac3 (patch) | |
tree | 033f2454772c1e26265ff1c890aa1ee0e9fa4f37 | |
parent | 928e9f88a171defb71c21bbc530971c09dbbac6b (diff) | |
download | drm_gralloc-9f8b37ecbdb201dfb5722c7e6c4596076ca37ac3.tar.gz |
WIP: always use gralloc_drm_get_pid()
Rather than accessing gralloc_drm_pid directly.
-rw-r--r-- | gralloc_drm.c | 2 |
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 */ |