[PATCH 3/5] drm/msm/mdp5: add skeletal mdp5_state

2016-11-07 Thread Archit Taneja
On 11/05/2016 09:55 PM, Rob Clark wrote: > Add basic state duplication/apply mechanism. Following commits will > move actual global hw state into this. > > The state_lock allows multiple concurrent updates to proceed as long as > they don't both try to alter global state. The ww_mutex

[PATCH 3/5] drm/msm/mdp5: add skeletal mdp5_state

2016-11-07 Thread Rob Clark
On Mon, Nov 7, 2016 at 5:29 AM, Archit Taneja wrote: > > > On 11/05/2016 09:55 PM, Rob Clark wrote: >> >> Add basic state duplication/apply mechanism. Following commits will >> move actual global hw state into this. >> >> The state_lock allows multiple concurrent updates to proceed as long as >>

[PATCH 3/5] drm/msm/mdp5: add skeletal mdp5_state

2016-11-05 Thread Rob Clark
Add basic state duplication/apply mechanism. Following commits will move actual global hw state into this. The state_lock allows multiple concurrent updates to proceed as long as they don't both try to alter global state. The ww_mutex mechanism will trigger backoff in case of deadlock between