commit | 824815c4cd13e384ef5a4be725ec4b06e4ad2c2a | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Thu Mar 31 16:23:51 2016 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Sun May 08 10:16:02 2016 -0400 |
tree | ba1e68f32df845da41e8b8c9a0922713cca27111 | |
parent | feb46f02c3fa70e6d3e5307cb105cc69c60a3fe3 [diff] |
reservation: add reservation_object_get_excl_rcu() In the atomic modesetting path, each driver simply wants to grab a ref to the exclusive fence from a reservation object to store in the incoming drm_plane_state, without doing the whole RCU dance. Since each driver will need to do this, lets make a helper. v2: rename to _rcu instead of _unlocked to be more consistent Signed-off-by: Rob Clark <robdclark@gmail.com> Acked-by: Sumit Semwal <sumit.semwal@linaro.org>