drm/msm: Remove msm_commit/worker, use atomic helper commit
authorSean Paul <seanpaul@chromium.org>
Wed, 28 Feb 2018 19:19:01 +0000 (14:19 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 4 Jun 2018 16:50:31 +0000 (12:50 -0400)
commit70db18dca4e0130acb0600ad51c33176b6162ccc
tree167594fdb755bd979e0359e206a9833060a1b376
parente765ea77b0fd51152e07aa4e6850b81552b76da3
drm/msm: Remove msm_commit/worker, use atomic helper commit

Moving further towards switching fully to the the atomic helpers, this
patch removes the hand-rolled worker nonblock commit code and uses the
atomic helpers commit_work model.

Changes in v2:
- Remove commit_destroy()
- Shuffle order of commit_tail calls to further serialize commits
- Use stall in swap_state to avoid abandoned events on disable
Changes in v3:
- Rebased on Archit's private_obj set
Changes in v4:
- None

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_atomic.c
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_drv.h