]> git.baikalelectronics.ru Git - kernel.git/commit
reservation: add reservation_object_get_excl_rcu()
authorRob Clark <robdclark@gmail.com>
Thu, 31 Mar 2016 20:23:51 +0000 (16:23 -0400)
committerRob Clark <robdclark@gmail.com>
Sun, 8 May 2016 14:16:02 +0000 (10:16 -0400)
commitbeeb3cfd7c4a4a605f0ec4667b36071ba87b045e
treeba1e68f32df845da41e8b8c9a0922713cca27111
parentbbafaabdca1544221729769e2a8fde5b6f544a4f
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>
include/linux/reservation.h