#include <drm/drm_crtc.h>
#include <drm/drm_probe_helper.h>
#include "mdp5_kms.h"
#ifdef CONFIG_DRM_MSM_DSI
static struct mdp5_kms *get_kms(struct drm_encoder *encoder)
{ … }
#define VSYNC_CLK_RATE …
static int pingpong_tearcheck_setup(struct drm_encoder *encoder,
struct drm_display_mode *mode)
{ … }
static int pingpong_tearcheck_enable(struct drm_encoder *encoder)
{ … }
static void pingpong_tearcheck_disable(struct drm_encoder *encoder)
{ … }
void mdp5_cmd_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{ … }
void mdp5_cmd_encoder_disable(struct drm_encoder *encoder)
{ … }
void mdp5_cmd_encoder_enable(struct drm_encoder *encoder)
{ … }
#endif