]> 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)
commit557a8c124745ceeabe3c058d21f32cc551fedc48
treeba1e68f32df845da41e8b8c9a0922713cca27111
parent57913f104960485d8e081a764c06d4bc73b21bfe
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