commit | ac2a3fd35b48b7fb5a9e08a6d6f83147178b833d | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Fri Nov 04 14:50:08 2016 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Sun Nov 27 11:32:28 2016 -0500 |
tree | ca65aae8174271e0b5ee51f06fff5764c3771653 | |
parent | 870d738acb7ebb0d4f6192c9d328cae95479715b [diff] |
drm/msm/mdp5: add skeletal mdp5_state 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 multiple threads trying to update state. Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Archit Taneja <architt@codeaurora.org>