drm/msm: Add split display interface
authorHai Li <hali@codeaurora.org>
Thu, 26 Mar 2015 23:25:15 +0000 (19:25 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 1 Apr 2015 23:29:37 +0000 (19:29 -0400)
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>
drivers/gpu/drm/msm/msm_kms.h

index 3a78cb48662b118c2d38859ca306565e162d8728..a9f17bdb4530e856e9f5e04e7cc7dd9029cedf81 100644 (file)
@@ -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);