diff options
author | Hai Li <hali@codeaurora.org> | 2015-03-27 02:25:15 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-04-02 02:29:37 +0300 |
commit | 7a6dc9550d0a17e3f24b2c13582f093193cd08ef (patch) | |
tree | 3208c52db8877bc3735f7d87bbc11a6dfef9d414 /drivers/gpu/drm/msm/msm_kms.h | |
parent | 5722a9e303be25adbe25c174f66c5e1e9e17c276 (diff) | |
download | linux-7a6dc9550d0a17e3f24b2c13582f093193cd08ef.tar.xz |
drm/msm: Add split display interface
This change is to add an interface to MDP for connector devices
setting split display information.
Signed-off-by: Hai Li <hali@codeaurora.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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_kms.h b/drivers/gpu/drm/msm/msm_kms.h index 3a78cb48662b..a9f17bdb4530 100644 --- a/drivers/gpu/drm/msm/msm_kms.h +++ b/drivers/gpu/drm/msm/msm_kms.h @@ -47,6 +47,10 @@ struct msm_kms_funcs { const struct msm_format *(*get_format)(struct msm_kms *kms, uint32_t format); long (*round_pixclk)(struct msm_kms *kms, unsigned long rate, struct drm_encoder *encoder); + int (*set_split_display)(struct msm_kms *kms, + struct drm_encoder *encoder, + struct drm_encoder *slave_encoder, + bool is_cmd_mode); /* cleanup: */ void (*preclose)(struct msm_kms *kms, struct drm_file *file); void (*destroy)(struct msm_kms *kms); |