#include <drm/drm_crtc.h>
#include <drm/drm_probe_helper.h>
#include "mdp4_kms.h"
#ifdef CONFIG_DRM_MSM_DSI
struct mdp4_dsi_encoder { … };
#define to_mdp4_dsi_encoder(x) …
static struct mdp4_kms *get_kms(struct drm_encoder *encoder)
{ … }
static void mdp4_dsi_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{ … }
static void mdp4_dsi_encoder_disable(struct drm_encoder *encoder)
{ … }
static void mdp4_dsi_encoder_enable(struct drm_encoder *encoder)
{ … }
static const struct drm_encoder_helper_funcs mdp4_dsi_encoder_helper_funcs = …;
struct drm_encoder *mdp4_dsi_encoder_init(struct drm_device *dev)
{ … }
#endif