diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-07-01 12:57:54 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-21 19:12:25 +0900 |
commit | 50a6fbd6189080a4913604e1275effbdffc69a30 (patch) | |
tree | bf1025af420c5db3bf9bd6efb601f39dd535f5f8 /drivers/mfd | |
parent | a44dee07bdc5152116159cc1476e2d9eb25d66fe (diff) | |
download | linux-3.10-50a6fbd6189080a4913604e1275effbdffc69a30.tar.gz linux-3.10-50a6fbd6189080a4913604e1275effbdffc69a30.tar.bz2 linux-3.10-50a6fbd6189080a4913604e1275effbdffc69a30.zip |
reservation: update api and add some helpers
Move the list of shared fences to a struct, and return it in
reservation_object_get_list().
Add reservation_object_get_excl to get the exclusive fence.
Add reservation_object_reserve_shared(), which reserves space
in the reservation_object for 1 more shared fence.
reservation_object_add_shared_fence() and
reservation_object_add_excl_fence() are used to assign a new
fence to a reservation_object pointer, to complete a reservation.
Changes since v1:
- Add reservation_object_get_excl, reorder code a bit.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions