commit | 86c62e49c81eb56200ec72936462a9a8629d7d1d | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Wed Feb 14 17:05:42 2018 -0600 |
committer | Rob Herring <robh@kernel.org> | Tue Feb 20 14:16:05 2018 -0600 |
tree | 9d83f40c8015f2c4fc56138e24521220820db09d | |
parent | 652bcea5a609ab6de1f54d2143968c954a37e959 [diff] |
android: add helper to convert buffer_handle_t to gralloc_handle_t ptr Clients frequently need to convert a buffer_handle_t (aka native_handle_t *) to a gralloc_handle_t ptr. This is a simple cast, but add an inline function to do the conversion. Reviewed-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Rob Herring <robh@kernel.org>