[PATCH 01/11] reservation: add reservation_object_get_excl_unlocked()

2016-04-05 Thread Sumit Semwal
On 4 April 2016 at 23:41, Rob Clark wrote: > On Mon, Apr 4, 2016 at 5:02 AM, Maarten Lankhorst > wrote: >> Op 31-03-16 om 22:23 schreef Rob Clark: >>> 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 incomi

[PATCH 01/11] reservation: add reservation_object_get_excl_unlocked()

2016-04-04 Thread Rob Clark
On Mon, Apr 4, 2016 at 5:02 AM, Maarten Lankhorst wrote: > Op 31-03-16 om 22:23 schreef Rob Clark: >> 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

[PATCH 01/11] reservation: add reservation_object_get_excl_unlocked()

2016-04-04 Thread Maarten Lankhorst
Op 31-03-16 om 22:23 schreef Rob Clark: > 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 h

[PATCH 01/11] reservation: add reservation_object_get_excl_unlocked()

2016-03-31 Thread Rob Clark
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

[PATCH 01/11] reservation: add reservation_object_get_excl_unlocked()

2016-03-18 Thread Rob Clark
In the atomic modesetting path, each driver simply wants to grab a ref to the exlusive 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. Signed-off-by: Rob Clark --- include/li