diff options
author | Jeykumar Sankaran <jsanka@codeaurora.org> | 2018-06-27 19:49:23 +0200 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-07-26 16:40:16 +0200 |
commit | 2b7ac1a8989829b085fae9750817ca3304047c04 (patch) | |
tree | 0e634d59be89393c76b314cfc510a11df5a375b3 /drivers/gpu/drm/msm/msm_kms.h | |
parent | drm/msm: #define MAX_<OBJECT> in msm_drv.h (diff) | |
download | linux-2b7ac1a8989829b085fae9750817ca3304047c04.tar.xz linux-2b7ac1a8989829b085fae9750817ca3304047c04.zip |
drm/msm: Add .commit() callback to msm_kms functions
Called right before wait_for_commit_done() to perform kickoff for
active crtcs.
Changes in v3:
- None
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
[seanpaul split this out of the megapatch]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_kms.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_kms.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_kms.h b/drivers/gpu/drm/msm/msm_kms.h index 76c14221ffdf..761bb07cd7bf 100644 --- a/drivers/gpu/drm/msm/msm_kms.h +++ b/drivers/gpu/drm/msm/msm_kms.h @@ -42,6 +42,7 @@ struct msm_kms_funcs { void (*disable_vblank)(struct msm_kms *kms, struct drm_crtc *crtc); /* modeset, bracketing atomic_commit(): */ void (*prepare_commit)(struct msm_kms *kms, struct drm_atomic_state *state); + void (*commit)(struct msm_kms *kms, struct drm_atomic_state *state); void (*complete_commit)(struct msm_kms *kms, struct drm_atomic_state *state); /* functions to wait for atomic commit completed on each CRTC */ void (*wait_for_crtc_commit_done)(struct msm_kms *kms, |