drm/msm: dpu: Make legacy cursor updates asynchronous
authorSean Paul <seanpaul@chromium.org>
Tue, 30 Oct 2018 16:00:09 +0000 (12:00 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 11 Dec 2018 18:07:08 +0000 (13:07 -0500)
commit50bcc689b1f1c5eb00eda0db76e00783b97c02c2
treef243802dd3c00af819eb460e104a9104ef769eff
parent5f79e03b1f7c1b2cf0019ce6365fe5d52629813d
drm/msm: dpu: Make legacy cursor updates asynchronous

This patch sprinkles a few async/legacy_cursor_update checks
through commit to ensure that cursor updates aren't blocked on vsync.
There are 2 main components to this, the first is that we don't want to
wait_for_commit_done in msm_atomic  before returning from atomic_complete.
The second is that in dpu we don't want to wait for frame_done events when
updating the cursor.

Changes in v2:
- None

Reviewed-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/msm_atomic.c