OSDN Git Service
(root)
/
android-x86
/
external-drm_gralloc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bfffba
)
WIP: always use gralloc_drm_get_pid()
author
Rob Clark
<robdclark@gmail.com>
Mon, 31 Aug 2015 17:32:21 +0000
(13:32 -0400)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Tue, 6 Oct 2015 10:07:08 +0000
(18:07 +0800)
Rather than accessing gralloc_drm_pid directly.
gralloc_drm.c
patch
|
blob
|
history
diff --git
a/gralloc_drm.c
b/gralloc_drm.c
index
3478dde
..
54b9408
100644
(file)
--- 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 */