Commit 7a6dc955 authored by Hai Li's avatar Hai Li Committed by Rob Clark

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: default avatarHai Li <hali@codeaurora.org>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 5722a9e3
...@@ -47,6 +47,10 @@ struct msm_kms_funcs { ...@@ -47,6 +47,10 @@ struct msm_kms_funcs {
const struct msm_format *(*get_format)(struct msm_kms *kms, uint32_t format); const struct msm_format *(*get_format)(struct msm_kms *kms, uint32_t format);
long (*round_pixclk)(struct msm_kms *kms, unsigned long rate, long (*round_pixclk)(struct msm_kms *kms, unsigned long rate,
struct drm_encoder *encoder); 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: */ /* cleanup: */
void (*preclose)(struct msm_kms *kms, struct drm_file *file); void (*preclose)(struct msm_kms *kms, struct drm_file *file);
void (*destroy)(struct msm_kms *kms); void (*destroy)(struct msm_kms *kms);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment