Loading drivers/gpu/ion/ion.c +2 −2 Original line number Diff line number Diff line Loading @@ -360,7 +360,7 @@ static void ion_handle_get(struct ion_handle *handle) kref_get(&handle->ref); } static int ion_handle_put(struct ion_handle *handle) int ion_handle_put(struct ion_handle *handle) { struct ion_client *client = handle->client; int ret; Loading @@ -386,7 +386,7 @@ static struct ion_handle *ion_handle_lookup(struct ion_client *client, return ERR_PTR(-EINVAL); } static struct ion_handle *ion_handle_get_by_id(struct ion_client *client, struct ion_handle *ion_handle_get_by_id(struct ion_client *client, int id) { struct ion_handle *handle; Loading drivers/gpu/ion/ion_priv.h +5 −0 Original line number Diff line number Diff line Loading @@ -396,4 +396,9 @@ int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, int ion_walk_heaps(struct ion_client *client, int heap_id, void *data, int (*f)(struct ion_heap *heap, void *data)); struct ion_handle *ion_handle_get_by_id(struct ion_client *client, int id); int ion_handle_put(struct ion_handle *handle); #endif /* _ION_PRIV_H */ Loading
drivers/gpu/ion/ion.c +2 −2 Original line number Diff line number Diff line Loading @@ -360,7 +360,7 @@ static void ion_handle_get(struct ion_handle *handle) kref_get(&handle->ref); } static int ion_handle_put(struct ion_handle *handle) int ion_handle_put(struct ion_handle *handle) { struct ion_client *client = handle->client; int ret; Loading @@ -386,7 +386,7 @@ static struct ion_handle *ion_handle_lookup(struct ion_client *client, return ERR_PTR(-EINVAL); } static struct ion_handle *ion_handle_get_by_id(struct ion_client *client, struct ion_handle *ion_handle_get_by_id(struct ion_client *client, int id) { struct ion_handle *handle; Loading
drivers/gpu/ion/ion_priv.h +5 −0 Original line number Diff line number Diff line Loading @@ -396,4 +396,9 @@ int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, int ion_walk_heaps(struct ion_client *client, int heap_id, void *data, int (*f)(struct ion_heap *heap, void *data)); struct ion_handle *ion_handle_get_by_id(struct ion_client *client, int id); int ion_handle_put(struct ion_handle *handle); #endif /* _ION_PRIV_H */