diff options
author | Todd Kjos <tkjos@google.com> | 2020-07-07 18:39:42 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-07-07 18:39:42 +0000 |
commit | ba563495c5b2ba75cbdef97d27a90f4b9bf5c283 (patch) | |
tree | ff607f11dfdfd1b49d97d2ac976f2674df04ec09 | |
parent | 21cd010ab801760af84544813545b3b483dfe150 (diff) | |
parent | d24f77b99007067760affb618bbf9b022d983d40 (diff) |
Merge "gralloc_gbm: fix gralloc_gbm_bo_lock() declaration" am: a7f5619ed2 am: 3594d8f08f am: d24f77b990
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1345436
Change-Id: I774010bf82b9c6eb7b8d666f6c5a5a62b9779753
-rw-r--r-- | gralloc/gralloc_gbm_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc/gralloc_gbm_priv.h b/gralloc/gralloc_gbm_priv.h index 7174fb8..d0326c5 100644 --- a/gralloc/gralloc_gbm_priv.h +++ b/gralloc/gralloc_gbm_priv.h @@ -43,7 +43,7 @@ struct gbm_bo *gralloc_gbm_bo_from_handle(buffer_handle_t handle); buffer_handle_t gralloc_gbm_bo_get_handle(struct gbm_bo *bo); int gralloc_gbm_get_gem_handle(buffer_handle_t handle); -int gralloc_gbm_bo_lock(buffer_handle_t handle, int x, int y, int w, int h, int enable_write, void **addr); +int gralloc_gbm_bo_lock(buffer_handle_t handle, int usage, int x, int y, int w, int h, void **addr); int gralloc_gbm_bo_unlock(buffer_handle_t handle); struct gbm_device *gbm_dev_create(void); |